FitTransform

Trait FitTransform 

Source
pub trait FitTransform<Input, Output, T: Transformer<Input, Output>>: Estimator<Input, Estimator = T> {
    // Provided method
    fn fit_transform(&self, input: &Input) -> Option<Output> { ... }
}
Expand description

Provided trait on estimators that emit a transfomer

Provided Methods§

Source

fn fit_transform(&self, input: &Input) -> Option<Output>

Fit and transform data in one operation. Useful if you don’t need to use the fitted transformer multiple times.

Implementors§

Source§

impl<Input, Output, T: Transformer<Input, Output>, E: Estimator<Input, Estimator = T>> FitTransform<Input, Output, T> for E