infomat.algorithms.description
Class CentroidRankingBoostDescriber
java.lang.Object
infomat.algorithms.description.Describer
infomat.algorithms.description.CentroidRankingBoostDescriber
- All Implemented Interfaces:
- HasProperties
public class CentroidRankingBoostDescriber
- extends Describer
Constructs ILabels for IObjectGroups.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CentroidRankingBoostDescriber
public CentroidRankingBoostDescriber()
getDefaultProperties
public Properties getDefaultProperties()
rankLog
private IVector<IVectorIndex> rankLog(IVector<IVectorIndex> ivec)
subtract
private static <T extends IVectorIndex> IVector<T> subtract(IVector<T> termLarge,
IVector<T> termSmall)
describeGrouping
public java.util.HashMap<IObjectGroup,IVector<IVectorIndex>> describeGrouping(IObjectGrouping ioging,
SparseISimilarity similarity)
- Only works for flat clusterings yet.
- Specified by:
describeGrouping
in class Describer
getName
public java.lang.String getName()
- Specified by:
getName
in class Describer
getPropertyVector
public java.util.Vector getPropertyVector()
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)