[][src]Trait linfa::traits::Transformer

pub trait Transformer<R: Records, T> {
    pub fn transform(&self, x: R) -> T;
}

Transformation algorithms

A transformer takes a dataset and transforms it into a different one. It has no concept of state and provides therefore no method to predict new data. A typical example are kernel methods.

It should be implemented for all algorithms, also for those which can be fitted.

Required methods

pub fn transform(&self, x: R) -> T[src]

Loading content...

Implementors

Loading content...