Class Normalizer
java.lang.Object
org.tribuo.math.util.Normalizer
- All Implemented Interfaces:
Serializable
,VectorNormalizer
Normalizes, but first subtracts the minimum value (to ensure positivity).
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondouble[]
normalize
(double[] input) Normalizes the input array in some fashion specified by the class.
-
Constructor Details
-
Normalizer
public Normalizer()
-
-
Method Details
-
normalize
Description copied from interface:VectorNormalizer
Normalizes the input array in some fashion specified by the class.- Specified by:
normalize
in interfaceVectorNormalizer
- Parameters:
input
- The input to normalize.- Returns:
- The normalized array.
-