mulan.evaluation.measure
Class ConfidenceMeasureBase
java.lang.Object
mulan.evaluation.measure.MeasureBase
mulan.evaluation.measure.ConfidenceMeasureBase
- All Implemented Interfaces:
- Serializable, Measure
- Direct Known Subclasses:
- LabelBasedAUC, LabelBasedAveragePrecision
public abstract class ConfidenceMeasureBase
- extends MeasureBase
- Version:
- 2010.12.04
- Author:
- Grigorios Tsoumakas
- See Also:
- Serialized Form
Method Summary |
protected abstract void |
updateConfidence(double[] confidences,
boolean[] truth)
Updates the measure for a new example |
protected void |
updateInternal(MultiLabelOutput prediction,
boolean[] truth)
Updates the measure based on an example |
ConfidenceMeasureBase
public ConfidenceMeasureBase()
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
updateConfidence
protected abstract void updateConfidence(double[] confidences,
boolean[] truth)
- Updates the measure for a new example
- Parameters:
confidences
- the confidences output by the learner for the exampletruth
- the ground truth of the example