pub struct GMMConfig {Show 16 fields
pub max_iter: usize,
pub tolerance: f64,
pub param_tolerance: f64,
pub covariance_type: CovarianceType,
pub reg_covar: f64,
pub init_method: InitializationMethod,
pub n_init: usize,
pub seed: Option<u64>,
pub parallel: bool,
pub use_simd: bool,
pub warm_start: bool,
pub robust_em: bool,
pub outlier_threshold: f64,
pub early_stopping: bool,
pub validation_fraction: f64,
pub patience: usize,
}
Expand description
Advanced GMM configuration
Fields§
§max_iter: usize
Maximum iterations for EM algorithm
tolerance: f64
Convergence tolerance for log-likelihood
param_tolerance: f64
Relative tolerance for parameter changes
covariance_type: CovarianceType
Covariance type
reg_covar: f64
Regularization for covariance matrices
init_method: InitializationMethod
Initialization method
n_init: usize
Number of initialization runs (best result selected)
seed: Option<u64>
Random seed
parallel: bool
Enable parallel processing
use_simd: bool
Enable SIMD optimizations
warm_start: bool
Warm start (use existing parameters if available)
robust_em: bool
Enable robust EM (outlier detection)
outlier_threshold: f64
Outlier threshold for robust EM
early_stopping: bool
Enable early stopping based on validation likelihood
validation_fraction: f64
Validation fraction for early stopping
patience: usize
Patience for early stopping
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GMMConfig
impl RefUnwindSafe for GMMConfig
impl Send for GMMConfig
impl Sync for GMMConfig
impl Unpin for GMMConfig
impl UnwindSafe for GMMConfig
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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
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>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
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
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.