infomat.vectorspace
Class Normalizer
java.lang.Object
infomat.vectorspace.Normalizer
- All Implemented Interfaces:
- HasProperties
public class Normalizer
- extends java.lang.Object
- implements HasProperties
For normalizeing rows or columns of a IMatrix.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
properties
Properties properties
Normalizer
public Normalizer()
Normalizer
public Normalizer(Properties properties)
getDefaultProperties
public Properties getDefaultProperties()
- Specified by:
getDefaultProperties
in interface HasProperties
getPropertyValue
public java.lang.Object getPropertyValue(java.lang.String name)
- Specified by:
getPropertyValue
in interface HasProperties
setProperty
public void setProperty(java.lang.String name,
java.lang.Object value)
throws PropertyNotFoundException
- Specified by:
setProperty
in interface HasProperties
- Throws:
PropertyNotFoundException
getProperties
public Properties getProperties()
- Specified by:
getProperties
in interface HasProperties
setProperties
public void setProperties(Properties properties)
- Specified by:
setProperties
in interface HasProperties
normalize
public void normalize(IMatrix matrix)
normalizeMatrix
public static void normalizeMatrix(IMatrix matrix,
boolean row)
- Normalizes the rows or columns of the matrix.