pub struct HybridAtomCandidate {
pub param: HybridAtomParam,
pub negative_log_evidence: f64,
pub num_parameters: usize,
pub fitted_turning: Option<f64>,
}Expand description
One fitted candidate parameterization for a single hybrid-dictionary atom
slot, scored on the COMMON rank-aware Laplace scale (−V = NLE, lower wins,
identical to the union/mixture rungs). The curved and linear candidates for
the SAME slot are fit on the same rows AND the same data (the atom’s response
residual, #1202), so their NLEs are directly comparable; the structural
difference is the curved candidate’s larger free-parameter price and whatever
data-fit it buys with its curvature.
Fields§
§param: HybridAtomParam§negative_log_evidence: f64Rank-aware Laplace negative-log-evidence on the common scale (lower wins).
num_parameters: usizeFree-parameter count this candidate is charged for (the complexity price).
fitted_turning: Option<f64>The candidate’s fitted total turning Θ = ∫κ ds of its decoded curve, if
the basis admits an analytic second jet. Some(0.0) for a linear atom (a
straight image has no turning); None when the turning is honestly
unavailable (no second jet / degenerate curve) — never fabricated.
Implementations§
Trait Implementations§
Source§impl Clone for HybridAtomCandidate
impl Clone for HybridAtomCandidate
Source§fn clone(&self) -> HybridAtomCandidate
fn clone(&self) -> HybridAtomCandidate
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for HybridAtomCandidate
Auto Trait Implementations§
impl Freeze for HybridAtomCandidate
impl RefUnwindSafe for HybridAtomCandidate
impl Send for HybridAtomCandidate
impl Sync for HybridAtomCandidate
impl Unpin for HybridAtomCandidate
impl UnsafeUnpin for HybridAtomCandidate
impl UnwindSafe for HybridAtomCandidate
Blanket Implementations§
impl<T> Allocation for T
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T, U> Imply<T> for U
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.