infomat.vectorspace.weighting
Class Weighter

java.lang.Object
  extended by infomat.vectorspace.weighting.Weighter
All Implemented Interfaces:
HasProperties
Direct Known Subclasses:
CentroidEntropyWeighter, CountWeighter, SubtractionWeighter, TFIDFWeighter, TFWeighter

public abstract class Weighter
extends java.lang.Object
implements HasProperties

A class for weighting of a IMatrix. The row objects are considered objects, and the column objects features.


Field Summary
(package private)  Properties properties
           
 
Constructor Summary
Weighter()
           
Weighter(Properties properties)
           
 
Method Summary
abstract  java.lang.String getWeighterName()
          Returns a String that identifies the Weighter.
abstract  void weight(IMatrix matrix)
          Weight the IMatrix (the whole matrix, which may be more than the current IObjectGroupings, the picture).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface mro.util.properties.HasProperties
getDefaultProperties, getProperties, getPropertyValue, setProperties, setProperty
 

Field Detail

properties

Properties properties
Constructor Detail

Weighter

public Weighter()

Weighter

public Weighter(Properties properties)
Method Detail

weight

public abstract void weight(IMatrix matrix)
Weight the IMatrix (the whole matrix, which may be more than the current IObjectGroupings, the picture).


getWeighterName

public abstract java.lang.String getWeighterName()
Returns a String that identifies the Weighter.