pub struct GmmValidParams<F: Float, R: Rng> { /* private fields */ }
Expand description
The set of hyperparameters that can be specified for the execution of the GMM algorithm.
Implementations§
Source§impl<F: Float, R: Rng + Clone> GmmValidParams<F, R>
impl<F: Float, R: Rng + Clone> GmmValidParams<F, R>
pub fn n_clusters(&self) -> usize
pub fn covariance_type(&self) -> &GmmCovarType
pub fn tolerance(&self) -> F
pub fn reg_covariance(&self) -> F
pub fn n_runs(&self) -> u64
pub fn max_n_iterations(&self) -> u64
pub fn init_method(&self) -> &GmmInitMethod
pub fn rng(&self) -> R
Trait Implementations§
Source§impl<F: Clone + Float, R: Clone + Rng> Clone for GmmValidParams<F, R>
impl<F: Clone + Float, R: Clone + Rng> Clone for GmmValidParams<F, R>
Source§fn clone(&self) -> GmmValidParams<F, R>
fn clone(&self) -> GmmValidParams<F, R>
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<F: Float, R: Rng + Clone, D: Data<Elem = F>, T> Fit<ArrayBase<D, Dim<[usize; 2]>>, T, GmmError> for GmmValidParams<F, R>
impl<F: Float, R: Rng + Clone, D: Data<Elem = F>, T> Fit<ArrayBase<D, Dim<[usize; 2]>>, T, GmmError> for GmmValidParams<F, R>
impl<F: Float, R: Rng> StructuralPartialEq for GmmValidParams<F, R>
Auto Trait Implementations§
impl<F, R> Freeze for GmmValidParams<F, R>
impl<F, R> RefUnwindSafe for GmmValidParams<F, R>where
F: RefUnwindSafe,
R: RefUnwindSafe,
impl<F, R> Send for GmmValidParams<F, R>where
R: Send,
impl<F, R> Sync for GmmValidParams<F, R>where
R: Sync,
impl<F, R> Unpin for GmmValidParams<F, R>where
R: Unpin,
impl<F, R> UnwindSafe for GmmValidParams<F, R>where
F: UnwindSafe,
R: UnwindSafe,
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