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§
Sourcefn fit_transform(&self, input: &Input) -> Option<Output>
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.