public interface Normalizable extends Representation
Modifier and Type | Method and Description |
---|---|
float |
getSquaredNorm()
Returns the squared norm of this vector
|
void |
normalize()
Scales the representation in order to have a unit norm in the explicit feature
space
|
void |
scale(float factor)
Multiplies each element of this representation by
coeff |
getTextFromData, setDataFromText
float getSquaredNorm()
void normalize()
void scale(float factor)
coeff
factor
- the scaling factorCopyright © 2015 Semantic Analytics Group @ Uniroma2. All rights reserved.