pub struct RobustGaussianMixtureTrained {
pub weights: Array1<f64>,
pub means: Array2<f64>,
pub covariances: Vec<Array2<f64>>,
pub log_likelihood: f64,
pub n_iter: usize,
pub converged: bool,
pub bic: f64,
pub aic: f64,
pub outlier_mask: Array1<bool>,
pub n_outliers: usize,
}Expand description
Trained state for RobustGaussianMixture
Fields§
§weights: Array1<f64>Mixture component weights
means: Array2<f64>Component means
covariances: Vec<Array2<f64>>Component covariance matrices or parameters
log_likelihood: f64Log likelihood of the fitted model
n_iter: usizeNumber of iterations performed
converged: boolWhether the algorithm converged
bic: f64Bayesian Information Criterion
aic: f64Akaike Information Criterion
outlier_mask: Array1<bool>Mask indicating which samples are detected as outliers
n_outliers: usizeNumber of detected outliers
Trait Implementations§
Source§impl Clone for RobustGaussianMixtureTrained
impl Clone for RobustGaussianMixtureTrained
Source§fn clone(&self) -> RobustGaussianMixtureTrained
fn clone(&self) -> RobustGaussianMixtureTrained
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RobustGaussianMixtureTrained
impl RefUnwindSafe for RobustGaussianMixtureTrained
impl Send for RobustGaussianMixtureTrained
impl Sync for RobustGaussianMixtureTrained
impl Unpin for RobustGaussianMixtureTrained
impl UnwindSafe for RobustGaussianMixtureTrained
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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