Trait rusty_machine::data::transforms::Transformer [] [src]

pub trait Transformer<T> {
    fn fit(&mut self, inputs: &T) -> Result<(), Error>;
    fn transform(&mut self, inputs: T) -> Result<T, Error>;
}

Trait for data transformers

Required Methods

Fit Transformer to input data, and stores the transformation in the Transformer

Transforms the inputs and stores the transformation in the Transformer

Implementors