Struct rusty_machine::learning::k_means::RandomPartition
[−]
[src]
pub struct RandomPartition;
The Random Partition initialization scheme.
Trait Implementations
impl Debug for RandomPartition
[src]
impl Initializer for RandomPartition
[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