MinMaxScaler
Transform features by rescaling each feature to a specific range [`min`, `max`]
(default
[0, 1] ).
[0, 1] ).
Missing values are transformed to
min
.When using aggregated feature summary from a previous session, out of bound values are
truncated to
truncated to
min
or max
and FeatureRejection.OutOfBound rejections are reported.Value members
Methods
def apply(name: String, min: Double, max: Double): Transformer[Double, (Min[Double], Max[Double]), C]
Create a new MinMaxScaler instance.
- Value Params
- max
-
upper bound after transformation, shared by all features
- min
-
lower bound after transformation, shared by all features