pub struct KMeansParams {
pub n_clusters: usize,
pub max_iter: i32,
pub tol: f64,
pub n_init: i32,
pub init: KMeansInit,
pub metric: KMeansMetric,
}Fields§
§n_clusters: usize§max_iter: i32§tol: f64§n_init: i32§init: KMeansInit§metric: KMeansMetricImplementations§
Trait Implementations§
Source§impl Clone for KMeansParams
impl Clone for KMeansParams
Auto Trait Implementations§
impl Freeze for KMeansParams
impl RefUnwindSafe for KMeansParams
impl Send for KMeansParams
impl Sync for KMeansParams
impl Unpin for KMeansParams
impl UnsafeUnpin for KMeansParams
impl UnwindSafe for KMeansParams
Blanket Implementations§
impl<T> Allocation for T
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