pub struct AdaptiveStreamingGMMTrained {
pub weights: Array1<f64>,
pub means: Array2<f64>,
pub covariances: Array2<f64>,
pub component_counts: Array1<usize>,
pub last_update: Array1<usize>,
pub total_samples: usize,
pub learning_rate: f64,
pub creation_history: Vec<usize>,
pub deletion_history: Vec<usize>,
pub drift_detected: bool,
pub drift_cumsum: f64,
pub config: AdaptiveStreamingConfig,
}Expand description
Trained Adaptive Streaming GMM state
Fields§
§weights: Array1<f64>Current component weights
means: Array2<f64>Current component means
covariances: Array2<f64>Current component covariances (diagonal)
component_counts: Array1<usize>Number of samples seen per component
last_update: Array1<usize>Last update iteration for each component
total_samples: usizeTotal samples processed
learning_rate: f64Current learning rate
creation_history: Vec<usize>Component creation history
deletion_history: Vec<usize>Component deletion history
drift_detected: boolDrift detection state
drift_cumsum: f64Drift detection cumulative sum
config: AdaptiveStreamingConfigConfiguration
Trait Implementations§
Source§impl Clone for AdaptiveStreamingGMMTrained
impl Clone for AdaptiveStreamingGMMTrained
Source§fn clone(&self) -> AdaptiveStreamingGMMTrained
fn clone(&self) -> AdaptiveStreamingGMMTrained
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 AdaptiveStreamingGMMTrained
impl RefUnwindSafe for AdaptiveStreamingGMMTrained
impl Send for AdaptiveStreamingGMMTrained
impl Sync for AdaptiveStreamingGMMTrained
impl Unpin for AdaptiveStreamingGMMTrained
impl UnwindSafe for AdaptiveStreamingGMMTrained
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