pub struct ModelComparisonResult {
pub aic_scores: Vec<Float>,
pub bic_scores: Vec<Float>,
pub best_aic_idx: usize,
pub best_bic_idx: usize,
}Expand description
Compare multiple trained factor analysis models by AIC / BIC.
Returns the index of the model with the lowest AIC and the lowest BIC, along with per-model scores.
Fields§
§aic_scores: Vec<Float>AIC for each model
bic_scores: Vec<Float>BIC for each model
best_aic_idx: usizeIndex of model with lowest AIC
best_bic_idx: usizeIndex of model with lowest BIC
Auto Trait Implementations§
impl Freeze for ModelComparisonResult
impl RefUnwindSafe for ModelComparisonResult
impl Send for ModelComparisonResult
impl Sync for ModelComparisonResult
impl Unpin for ModelComparisonResult
impl UnsafeUnpin for ModelComparisonResult
impl UnwindSafe for ModelComparisonResult
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
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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> ⓘ
Converts
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> ⓘ
Converts
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 more