pub enum CustomFamilyError {
InvalidInput {
context: &'static str,
reason: String,
},
Optimization {
context: &'static str,
reason: String,
},
DimensionMismatch {
reason: String,
},
NumericalFailure {
reason: String,
},
ConstraintViolation {
reason: String,
},
UnsupportedConfiguration {
reason: String,
},
BasisDecompositionFailed {
reason: String,
},
IdentifiabilityFailure {
audit: IdentifiabilityAudit,
},
MapUniquenessFailure {
error: MapUniquenessError,
},
}Variants§
InvalidInput
Optimization
DimensionMismatch
NumericalFailure
ConstraintViolation
UnsupportedConfiguration
BasisDecompositionFailed
IdentifiabilityFailure
Pre-fit cross-block identifiability audit refused the fit. The
joint design across ParameterBlockSpecs carries a rank
deficiency that the post-joint_null_rotation absorption did
not resolve: two or more blocks contribute the same direction,
or a structural >2-way alias was detected without per-pair
attribution. The full IdentifiabilityAudit is held so
consumers (logs, structured-error sinks, the seed driver’s
classifier) can extract the alias pairs and the summary string
without reparsing.
Fields
audit: IdentifiabilityAuditMapUniquenessFailure
MAP estimate uniqueness condition ker(J^T W J) ∩ ker(S) = {0} is
violated. A null direction of J^T W J carries zero penalty
curvature, so the posterior is flat along that direction and the
MAP is non-unique. The structured MapUniquenessError names the
dominant block so the caller can add the missing penalty or remove
the unpenalised direction.
Fields
error: MapUniquenessErrorTrait Implementations§
Source§impl Clone for CustomFamilyError
impl Clone for CustomFamilyError
Source§fn clone(&self) -> CustomFamilyError
fn clone(&self) -> CustomFamilyError
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for CustomFamilyError
impl Debug for CustomFamilyError
Source§impl Display for CustomFamilyError
impl Display for CustomFamilyError
Source§impl Error for CustomFamilyError
impl Error for CustomFamilyError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
Source§impl From<CustomFamilyError> for String
impl From<CustomFamilyError> for String
Source§fn from(value: CustomFamilyError) -> Self
fn from(value: CustomFamilyError) -> Self
Source§impl From<CustomFamilyError> for EstimationError
impl From<CustomFamilyError> for EstimationError
Source§fn from(source: CustomFamilyError) -> Self
fn from(source: CustomFamilyError) -> Self
Auto Trait Implementations§
impl Freeze for CustomFamilyError
impl RefUnwindSafe for CustomFamilyError
impl Send for CustomFamilyError
impl Sync for CustomFamilyError
impl Unpin for CustomFamilyError
impl UnsafeUnpin for CustomFamilyError
impl UnwindSafe for CustomFamilyError
Blanket Implementations§
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.