pub struct OutlierTransformationConfig {
pub method: OutlierTransformationMethod,
pub outlier_threshold: Float,
pub detection_method: String,
pub lower_percentile: Float,
pub upper_percentile: Float,
pub smoothing_window: usize,
pub n_quantiles: usize,
pub handle_negatives: bool,
pub log_epsilon: Float,
pub feature_wise: bool,
}Expand description
Configuration for outlier transformation
Fields§
§method: OutlierTransformationMethodTransformation method to apply
outlier_threshold: FloatThreshold for outlier detection (used with interpolation/smoothing)
detection_method: StringMethod for outlier detection (z-score, iqr, percentile)
lower_percentile: FloatLower percentile for trimming (default: 1.0)
upper_percentile: FloatUpper percentile for trimming (default: 99.0)
smoothing_window: usizeWindow size for smoothing (default: 5)
n_quantiles: usizeNumber of quantiles for quantile transformation (default: 1000)
handle_negatives: boolWhether to handle negative values by shifting (default: true)
log_epsilon: FloatSmall constant to add before log transformation to avoid zeros
feature_wise: boolWhether to apply transformation feature-wise (default: true)
Trait Implementations§
Source§impl Clone for OutlierTransformationConfig
impl Clone for OutlierTransformationConfig
Source§fn clone(&self) -> OutlierTransformationConfig
fn clone(&self) -> OutlierTransformationConfig
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 OutlierTransformationConfig
impl Debug for OutlierTransformationConfig
Auto Trait Implementations§
impl Freeze for OutlierTransformationConfig
impl RefUnwindSafe for OutlierTransformationConfig
impl Send for OutlierTransformationConfig
impl Sync for OutlierTransformationConfig
impl Unpin for OutlierTransformationConfig
impl UnwindSafe for OutlierTransformationConfig
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