mulan.evaluation.measure
Class BipartitionMeasureBase
java.lang.Object
mulan.evaluation.measure.MeasureBase
mulan.evaluation.measure.BipartitionMeasureBase
- All Implemented Interfaces:
- Serializable, Measure
- Direct Known Subclasses:
- ExampleBasedBipartitionMeasureBase, LabelBasedBipartitionMeasureBase
public abstract class BipartitionMeasureBase
- extends MeasureBase
- Version:
- 2010.11.01
- Author:
- Grigorios Tsoumakas
- See Also:
- Serialized Form
Method Summary |
protected abstract void |
updateBipartition(boolean[] bipartition,
boolean[] truth)
Updates the measure based on an example |
protected void |
updateInternal(MultiLabelOutput prediction,
boolean[] truth)
Updates the measure based on an example |
BipartitionMeasureBase
public BipartitionMeasureBase()
updateInternal
protected void updateInternal(MultiLabelOutput prediction,
boolean[] truth)
- Description copied from class:
MeasureBase
- Updates the measure based on an example
- Specified by:
updateInternal
in class MeasureBase
- Parameters:
prediction
- the output of the algorithm for the exampletruth
- the ground truth of the example
updateBipartition
protected abstract void updateBipartition(boolean[] bipartition,
boolean[] truth)
- Updates the measure based on an example
- Parameters:
bipartition
- the predicted bipartitiontruth
- the ground truth