- 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 MaxAbsScalerPreprocessor<K,V>
extends Object
implements IgniteBiFunction<K,V,Vector>
The preprocessing function that makes maxabsscaling, transforms features to the scale [-1,+1]
. From
mathematical point of view it's the following function which is applied to every element in a dataset:
a_i = a_i / maxabs_i for all i
,
where i
is a number of column, maxabs_i
is the value of the absolute maximum element in this column.
- See Also:
- Serialized Form