pub enum RobustStrategy {
OutlierResistant {
contamination: Float,
detection_method: OutlierDetectionMethod,
},
TrimmedMean {
trim_proportion: Float,
},
RobustScale {
scale_estimator: ScaleEstimator,
location_estimator: LocationEstimator,
},
BreakdownPoint {
breakdown_point: Float,
},
InfluenceResistant {
huber_delta: Float,
max_iter: usize,
tolerance: Float,
},
}Expand description
Strategy for robust predictions
Variants§
OutlierResistant
Outlier-resistant methods using robust statistics
Fields
§
detection_method: OutlierDetectionMethodMethod for outlier detection
TrimmedMean
Trimmed mean baselines removing extreme values
RobustScale
Robust scale estimation using various estimators
Fields
§
scale_estimator: ScaleEstimatorScale estimator to use
§
location_estimator: LocationEstimatorLocation estimator to use
BreakdownPoint
Breakdown point analysis with different robustness levels
InfluenceResistant
Influence-resistant methods using M-estimators
Trait Implementations§
Source§impl Clone for RobustStrategy
impl Clone for RobustStrategy
Source§fn clone(&self) -> RobustStrategy
fn clone(&self) -> RobustStrategy
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 RobustStrategy
impl Debug for RobustStrategy
Source§impl PartialEq for RobustStrategy
impl PartialEq for RobustStrategy
impl StructuralPartialEq for RobustStrategy
Auto Trait Implementations§
impl Freeze for RobustStrategy
impl RefUnwindSafe for RobustStrategy
impl Send for RobustStrategy
impl Sync for RobustStrategy
impl Unpin for RobustStrategy
impl UnwindSafe for RobustStrategy
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