Class NoopNormalizer
java.lang.Object
org.tribuo.math.util.NoopNormalizer
- All Implemented Interfaces:
 Serializable,VectorNormalizer
NoopNormalizer returns a copy in 
normalize(double[]) and is a no-op in place.- See Also:
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionexportNormalizer(ONNXNode input) Returns its input.double[]normalize(double[] input) Normalizes the input array in some fashion specified by the class.voidnormalizeInPlace(double[] input) In place normalization of the array. 
- 
Constructor Details
- 
NoopNormalizer
public NoopNormalizer() 
 - 
 - 
Method Details
- 
normalize
public double[] normalize(double[] input) Description copied from interface:VectorNormalizerNormalizes the input array in some fashion specified by the class.- Specified by:
 normalizein interfaceVectorNormalizer- Parameters:
 input- The input to normalize.- Returns:
 - The normalized array.
 
 - 
normalizeInPlace
public void normalizeInPlace(double[] input) Description copied from interface:VectorNormalizerIn place normalization of the array.Note: This default implementation performs a copy by calling the standard normalize method.
- Specified by:
 normalizeInPlacein interfaceVectorNormalizer- Parameters:
 input- The input to normalize.
 - 
exportNormalizer
Returns its input.- Specified by:
 exportNormalizerin interfaceVectorNormalizer- Parameters:
 input- The node to be normalized according to this implementation.- Returns:
 - the input node
 
 
 -