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, isCompatible, setDataFromTextfloat getSquaredNorm()
void normalize()
void scale(float factor)
coefffactor - the scaling factorCopyright © 2018 Semantic Analytics Group @ Uniroma2. All rights reserved.