rusty_machine::learning::k_means
pub struct KPlusPlus;
The K-means ++ initialization scheme.
impl Debug for KPlusPlus
fn fmt(&self, __arg_0: &mut Formatter) -> Result
Formats the value using the given formatter.
impl Initializer for KPlusPlus
fn init_centroids(&self, k: usize, inputs: &Matrix<f64>) -> Result<Matrix<f64>, Error>
Initialize the centroids for the initial state of the K-Means model. Read more