pub enum KMeansParam {
NClusters,
MaxIter,
NInit,
Init,
Tol,
}Expand description
K-Means clustering hyperparameters.
Variants§
NClusters
Number of clusters.
MaxIter
Maximum iterations.
NInit
Number of initializations.
Init
Initialization method.
Tol
Convergence tolerance.
Trait Implementations§
Source§impl Clone for KMeansParam
impl Clone for KMeansParam
Source§fn clone(&self) -> KMeansParam
fn clone(&self) -> KMeansParam
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for KMeansParam
impl Debug for KMeansParam
Source§impl Display for KMeansParam
impl Display for KMeansParam
Source§impl Hash for KMeansParam
impl Hash for KMeansParam
Source§impl ParamKey for KMeansParam
impl ParamKey for KMeansParam
Source§impl PartialEq for KMeansParam
impl PartialEq for KMeansParam
impl Copy for KMeansParam
impl Eq for KMeansParam
impl StructuralPartialEq for KMeansParam
Auto Trait Implementations§
impl Freeze for KMeansParam
impl RefUnwindSafe for KMeansParam
impl Send for KMeansParam
impl Sync for KMeansParam
impl Unpin for KMeansParam
impl UnwindSafe for KMeansParam
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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