Enum linfa_preprocessing::linear_scaling::ScalingMethod [−][src]
Expand description
Possible scaling methods for LinearScaler
- Standard (with mean, with std): subtracts the mean to each feature and scales it by the inverse of its standard deviation
- MinMax (min, max): scales each feature to fit in the range [min,max], default values are [0,1]
- MaxAbs: scales each feature by the inverse of its maximum absolute value, so that it fits the range [-1,1]
Variants
Trait Implementations
Auto Trait Implementations
impl<F> RefUnwindSafe for ScalingMethod<F> where
F: RefUnwindSafe,
impl<F> Send for ScalingMethod<F>
impl<F> Sync for ScalingMethod<F>
impl<F> Unpin for ScalingMethod<F> where
F: Unpin,
impl<F> UnwindSafe for ScalingMethod<F> where
F: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more