[][src]Trait tinguely::model::UnsupervisedLearn

pub trait UnsupervisedLearn<T, U> {
    fn train(&mut self, input: &T);
fn predict(&self, input: &T) -> U; }

Required methods

fn train(&mut self, input: &T)

fn predict(&self, input: &T) -> U

Loading content...

Implementors

impl UnsupervisedLearn<Matrix<f64>, Vector<f64>> for KMeans[src]

fn train<'a, 'b>(&'a mut self, input: &'b Matrix<f64>)[src]

Trains the model with the given samples

Loading content...