Struct linfa_clustering::GmmValidParams
source · 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 copy 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>
source§impl<F: PartialEq + Float, R: PartialEq + Rng> PartialEq for GmmValidParams<F, R>
impl<F: PartialEq + Float, R: PartialEq + Rng> PartialEq for GmmValidParams<F, R>
source§fn eq(&self, other: &GmmValidParams<F, R>) -> bool
fn eq(&self, other: &GmmValidParams<F, R>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<F: Float, R: Rng> StructuralPartialEq for GmmValidParams<F, R>
Auto Trait Implementations§
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