pub enum OutlierTransformationMethod {
Log,
Log1p,
Sqrt,
BoxCox,
BoxCoxFixed(Float),
QuantileUniform,
QuantileNormal,
RobustScale,
Interpolate,
Smooth,
Trim,
}Expand description
Available outlier transformation methods
Variants§
Log
Natural logarithm transformation (for positive values)
Log1p
Log1p transformation (log(1 + x), handles zeros)
Sqrt
Square root transformation (for positive values)
BoxCox
Box-Cox transformation with automatic lambda estimation
BoxCoxFixed(Float)
Box-Cox transformation with fixed lambda
QuantileUniform
Quantile transformation to uniform distribution
QuantileNormal
Quantile transformation to normal distribution
RobustScale
Robust scaling using median and IQR
Interpolate
Replace outliers with interpolated values
Smooth
Smooth outliers using local neighborhood
Trim
Trim extreme percentiles before transformation
Trait Implementations§
Source§impl Clone for OutlierTransformationMethod
impl Clone for OutlierTransformationMethod
Source§fn clone(&self) -> OutlierTransformationMethod
fn clone(&self) -> OutlierTransformationMethod
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 OutlierTransformationMethod
impl Debug for OutlierTransformationMethod
impl Copy for OutlierTransformationMethod
Auto Trait Implementations§
impl Freeze for OutlierTransformationMethod
impl RefUnwindSafe for OutlierTransformationMethod
impl Send for OutlierTransformationMethod
impl Sync for OutlierTransformationMethod
impl Unpin for OutlierTransformationMethod
impl UnwindSafe for OutlierTransformationMethod
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