pub struct WinsorizerConfig {
pub lower_percentile: Float,
pub upper_percentile: Float,
pub feature_wise: bool,
pub nan_strategy: NanStrategy,
}Expand description
Configuration for winsorization
Fields§
§lower_percentile: FloatLower percentile for winsorization (default: 5.0)
upper_percentile: FloatUpper percentile for winsorization (default: 95.0)
feature_wise: boolWhether to winsorize each feature independently (default: true)
nan_strategy: NanStrategyStrategy for handling NaN values
Trait Implementations§
Source§impl Clone for WinsorizerConfig
impl Clone for WinsorizerConfig
Source§fn clone(&self) -> WinsorizerConfig
fn clone(&self) -> WinsorizerConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WinsorizerConfig
impl Debug for WinsorizerConfig
Auto Trait Implementations§
impl Freeze for WinsorizerConfig
impl RefUnwindSafe for WinsorizerConfig
impl Send for WinsorizerConfig
impl Sync for WinsorizerConfig
impl Unpin for WinsorizerConfig
impl UnwindSafe for WinsorizerConfig
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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