infomat.algorithms.labeling
Class WeightRankingBoostLabeler
java.lang.Object
infomat.algorithms.labeling.Labeler
infomat.algorithms.labeling.WeightRankingBoostLabeler
- All Implemented Interfaces:
- HasProperties
public class WeightRankingBoostLabeler
- extends Labeler
Constructs ILabels for IObjectGroups.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
weighter
private Weighter weighter
matrix
private IMatrix matrix
row
private boolean row
WeightRankingBoostLabeler
public WeightRankingBoostLabeler(Weighter weighter,
IMatrix matrix,
boolean row)
WeightRankingBoostLabeler
public WeightRankingBoostLabeler(Properties properties,
Weighter weighter,
IMatrix matrix,
boolean row)
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)
labelGroup
private ILabel labelGroup(IObjectGroup iog,
SparseISimilarity similarity,
java.util.HashMap<IObject,java.lang.Float> wholeGroupingWeightOrderMap,
Weighter weighter)
- Can not be used separately, since it relyes on having information
on the whole set.
labelGrouping
public java.util.HashMap<IObjectGroup,ILabel> labelGrouping(IObjectGrouping ioging,
SparseISimilarity similarity)
- Specified by:
labelGrouping
in class Labeler