infomat.vectorspace.weighting
Class SubtractionWeighter
java.lang.Object
infomat.vectorspace.weighting.Weighter
infomat.vectorspace.weighting.SubtractionWeighter
- All Implemented Interfaces:
- HasProperties
public class SubtractionWeighter
- extends Weighter
A class for weighting of a IMatrix.
Not yet working as intended.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
rowSimilarity
private SparseISimilarity rowSimilarity
SubtractionWeighter
public SubtractionWeighter()
SubtractionWeighter
public SubtractionWeighter(Properties properties)
getDefaultProperties
public Properties getDefaultProperties()
getPropertyValue
public java.lang.Object getPropertyValue(java.lang.String name)
setProperty
public void setProperty(java.lang.String name,
java.lang.Object value)
throws PropertyNotFoundException
- Throws:
PropertyNotFoundException
getProperties
public Properties getProperties()
setProperties
public void setProperties(Properties properties)
getWeighterName
public java.lang.String getWeighterName()
- Description copied from class:
Weighter
- Returns a String that identifies the Weighter.
- Specified by:
getWeighterName
in class Weighter
setRowISimilarity
public void setRowISimilarity(SparseISimilarity rowSimilarity)
weight
public void weight(IMatrix matrix)
- Weight the IMatrix (the whole matrix,
which may be more than the current IObjectGroupings, the picture).
Does not work properly before #setRowISimilarity() is called.
- Specified by:
weight
in class Weighter