pub struct RobustPreprocessorConfig {Show 14 fields
pub strategy: RobustStrategy,
pub enable_outlier_detection: bool,
pub enable_outlier_transformation: bool,
pub enable_outlier_imputation: bool,
pub enable_robust_scaling: bool,
pub outlier_threshold: Option<Float>,
pub detection_method: OutlierDetectionMethod,
pub transformation_method: OutlierTransformationMethod,
pub contamination_rate: Float,
pub adaptive_thresholds: bool,
pub quantile_range: (Float, Float),
pub with_centering: bool,
pub with_scaling: bool,
pub parallel: bool,
}Expand description
Configuration for robust preprocessing
Fields§
§strategy: RobustStrategyOverall robust strategy
enable_outlier_detection: boolWhether to enable outlier detection
enable_outlier_transformation: boolWhether to enable outlier transformation
enable_outlier_imputation: boolWhether to enable outlier-aware imputation
enable_robust_scaling: boolWhether to enable robust scaling
outlier_threshold: Option<Float>Outlier detection threshold (adaptive if None)
detection_method: OutlierDetectionMethodOutlier detection method
transformation_method: OutlierTransformationMethodTransformation method for outliers
contamination_rate: FloatContamination rate (expected proportion of outliers)
adaptive_thresholds: boolWhether to use adaptive thresholds
quantile_range: (Float, Float)Quantile range for robust scaling
with_centering: boolWhether to center data in robust scaling
with_scaling: boolWhether to scale data in robust scaling
parallel: boolParallel processing configuration
Implementations§
Source§impl RobustPreprocessorConfig
impl RobustPreprocessorConfig
Sourcepub fn conservative() -> Self
pub fn conservative() -> Self
Create configuration for conservative robust preprocessing
Sourcepub fn aggressive() -> Self
pub fn aggressive() -> Self
Create configuration for aggressive robust preprocessing
Trait Implementations§
Source§impl Clone for RobustPreprocessorConfig
impl Clone for RobustPreprocessorConfig
Source§fn clone(&self) -> RobustPreprocessorConfig
fn clone(&self) -> RobustPreprocessorConfig
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 RobustPreprocessorConfig
impl Debug for RobustPreprocessorConfig
Auto Trait Implementations§
impl Freeze for RobustPreprocessorConfig
impl RefUnwindSafe for RobustPreprocessorConfig
impl Send for RobustPreprocessorConfig
impl Sync for RobustPreprocessorConfig
impl Unpin for RobustPreprocessorConfig
impl UnwindSafe for RobustPreprocessorConfig
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