pub struct KPlusPlus;Expand description
The K-means ++ initialization scheme.
Trait Implementations§
Source§impl Initializer for KPlusPlus
impl Initializer for KPlusPlus
Source§fn init_centroids(
&self,
k: usize,
inputs: &Matrix<f64>,
) -> LearningResult<Matrix<f64>>
fn init_centroids( &self, k: usize, inputs: &Matrix<f64>, ) -> LearningResult<Matrix<f64>>
Initialize the centroids for the initial state of the K-Means model. Read more
Auto Trait Implementations§
impl Freeze for KPlusPlus
impl RefUnwindSafe for KPlusPlus
impl Send for KPlusPlus
impl Sync for KPlusPlus
impl Unpin for KPlusPlus
impl UnwindSafe for KPlusPlus
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