public class Normalizer extends java.lang.Object implements VectorTransformer
For any 1 <= p < Double.PositiveInfinity, normalizes samples using sum(abs(vector).^p^)^(1/p)^ as norm.
For p = Double.PositiveInfinity, max(abs(vector)) will be used as norm for normalization.
param: p Normalization in L^p^ space, p = 2 by default.
|Modifier and Type||Method and Description|
Applies unit length normalization on a vector.
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait