pub struct AdaptiveStreamingConfig {
pub min_components: usize,
pub max_components: usize,
pub creation_criterion: CreationCriterion,
pub deletion_criterion: DeletionCriterion,
pub drift_detection: Option<DriftDetectionMethod>,
pub learning_rate: f64,
pub decay_rate: f64,
pub min_samples_before_delete: usize,
pub covariance_type: CovarianceType,
}Expand description
Configuration for adaptive streaming mixture
Fields§
§min_components: usizeMinimum number of components
max_components: usizeMaximum number of components
creation_criterion: CreationCriterionCreation criterion
deletion_criterion: DeletionCriterionDeletion criterion
drift_detection: Option<DriftDetectionMethod>Drift detection method
learning_rate: f64Learning rate for parameter updates
decay_rate: f64Learning rate decay
min_samples_before_delete: usizeMinimum samples before component deletion
covariance_type: CovarianceTypeCovariance type
Trait Implementations§
Source§impl Clone for AdaptiveStreamingConfig
impl Clone for AdaptiveStreamingConfig
Source§fn clone(&self) -> AdaptiveStreamingConfig
fn clone(&self) -> AdaptiveStreamingConfig
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 moreSource§impl Debug for AdaptiveStreamingConfig
impl Debug for AdaptiveStreamingConfig
Auto Trait Implementations§
impl Freeze for AdaptiveStreamingConfig
impl RefUnwindSafe for AdaptiveStreamingConfig
impl Send for AdaptiveStreamingConfig
impl Sync for AdaptiveStreamingConfig
impl Unpin for AdaptiveStreamingConfig
impl UnwindSafe for AdaptiveStreamingConfig
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