pub struct AdaptiveStreamingGMMBuilder { /* private fields */ }Expand description
Builder for Adaptive Streaming GMM
Implementations§
Source§impl AdaptiveStreamingGMMBuilder
impl AdaptiveStreamingGMMBuilder
Sourcepub fn min_components(self, min: usize) -> Self
pub fn min_components(self, min: usize) -> Self
Set minimum components
Sourcepub fn max_components(self, max: usize) -> Self
pub fn max_components(self, max: usize) -> Self
Set maximum components
Sourcepub fn creation_criterion(self, criterion: CreationCriterion) -> Self
pub fn creation_criterion(self, criterion: CreationCriterion) -> Self
Set creation criterion
Sourcepub fn deletion_criterion(self, criterion: DeletionCriterion) -> Self
pub fn deletion_criterion(self, criterion: DeletionCriterion) -> Self
Set deletion criterion
Sourcepub fn drift_detection(self, method: DriftDetectionMethod) -> Self
pub fn drift_detection(self, method: DriftDetectionMethod) -> Self
Set drift detection method
Sourcepub fn learning_rate(self, lr: f64) -> Self
pub fn learning_rate(self, lr: f64) -> Self
Set learning rate
Sourcepub fn decay_rate(self, decay: f64) -> Self
pub fn decay_rate(self, decay: f64) -> Self
Set learning rate decay
Sourcepub fn build(self) -> AdaptiveStreamingGMM<Untrained>
pub fn build(self) -> AdaptiveStreamingGMM<Untrained>
Build the model
Trait Implementations§
Source§impl Clone for AdaptiveStreamingGMMBuilder
impl Clone for AdaptiveStreamingGMMBuilder
Source§fn clone(&self) -> AdaptiveStreamingGMMBuilder
fn clone(&self) -> AdaptiveStreamingGMMBuilder
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 AdaptiveStreamingGMMBuilder
impl Debug for AdaptiveStreamingGMMBuilder
Auto Trait Implementations§
impl Freeze for AdaptiveStreamingGMMBuilder
impl RefUnwindSafe for AdaptiveStreamingGMMBuilder
impl Send for AdaptiveStreamingGMMBuilder
impl Sync for AdaptiveStreamingGMMBuilder
impl Unpin for AdaptiveStreamingGMMBuilder
impl UnwindSafe for AdaptiveStreamingGMMBuilder
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