Struct rusty_machine::learning::k_means::Forgy
[−]
[src]
pub struct Forgy;
The Forgy initialization scheme.
Trait Implementations
impl Debug for Forgy
[src]
impl Initializer for Forgy
[src]
fn init_centroids(&self,
k: usize,
inputs: &Matrix<f64>)
-> LearningResult<Matrix<f64>>
k: usize,
inputs: &Matrix<f64>)
-> LearningResult<Matrix<f64>>
Initialize the centroids for the initial state of the K-Means model. Read more