- Type Parameters:
K
- Type of a key in upstream
data.
V
- Type of a value in upstream
data.
- All Implemented Interfaces:
- Serializable, BiFunction<K,V,Vector>, IgniteBiFunction<K,V,Vector>
public class MinMaxScalerPreprocessor<K,V>
extends Object
implements IgniteBiFunction<K,V,Vector>
Preprocessing function that makes minmaxscaling. From mathematical point of view it's the following function which
is applied to every element in dataset:
a_i = (a_i - min_i) / (max_i - min_i) for all i
,
where i
is a number of column, max_i
is the value of the maximum element in this columns,
min_i
is the value of the minimal element in this column.
- See Also:
- Serialized Form