Enum linfa_preprocessing::linear_scaling::ScalingMethod [−][src]
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
impl<F: Clone + Float> Clone for ScalingMethod<F>[src]
impl<F: Clone + Float> Clone for ScalingMethod<F>[src]fn clone(&self) -> ScalingMethod<F>[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl<F: Debug + Float> Debug for ScalingMethod<F>[src]
impl<F: Debug + Float> Debug for ScalingMethod<F>[src]Auto Trait Implementations
impl<F> RefUnwindSafe for ScalingMethod<F> where
F: RefUnwindSafe,
impl<F> RefUnwindSafe for ScalingMethod<F> where
F: RefUnwindSafe, impl<F> Send for ScalingMethod<F>
impl<F> Send for ScalingMethod<F>impl<F> Sync for ScalingMethod<F>
impl<F> Sync for ScalingMethod<F>impl<F> Unpin for ScalingMethod<F> where
F: Unpin,
impl<F> Unpin for ScalingMethod<F> where
F: Unpin, impl<F> UnwindSafe for ScalingMethod<F> where
F: UnwindSafe,
impl<F> UnwindSafe for ScalingMethod<F> where
F: UnwindSafe,