Trait rusty_machine::learning::UnSupModel
[−]
[src]
pub trait UnSupModel<T, U> { fn predict(&self, inputs: &T) -> LearningResult<U>; fn train(&mut self, inputs: &T) -> LearningResult<()>; }
Trait for unsupervised model.
Required Methods
fn predict(&self, inputs: &T) -> LearningResult<U>
Predict output from inputs.
fn train(&mut self, inputs: &T) -> LearningResult<()>
Train the model using inputs.