pub struct PreprocessingChain { /* private fields */ }Expand description
Preprocessing chain builder
Implementations§
Source§impl PreprocessingChain
impl PreprocessingChain
Sourcepub fn standard_scaler(self) -> Self
pub fn standard_scaler(self) -> Self
Add a standard scaler
Sourcepub fn min_max_scaler(self, feature_range: (f64, f64)) -> Self
pub fn min_max_scaler(self, feature_range: (f64, f64)) -> Self
Add a min-max scaler
Sourcepub fn robust_scaler(self) -> Self
pub fn robust_scaler(self) -> Self
Add robust scaling
Sourcepub fn impute_missing(self, strategy: ImputationStrategy) -> Self
pub fn impute_missing(self, strategy: ImputationStrategy) -> Self
Add missing value imputation
Sourcepub fn done(self) -> FluentPipelineBuilder<BuilderWithSteps>
pub fn done(self) -> FluentPipelineBuilder<BuilderWithSteps>
Finish preprocessing and return to main builder
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PreprocessingChain
impl !RefUnwindSafe for PreprocessingChain
impl !Send for PreprocessingChain
impl !Sync for PreprocessingChain
impl Unpin for PreprocessingChain
impl !UnwindSafe for PreprocessingChain
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more