mulan.evaluation.measure
Class LabelBasedRecall
java.lang.Object
mulan.evaluation.measure.MeasureBase
mulan.evaluation.measure.BipartitionMeasureBase
mulan.evaluation.measure.LabelBasedBipartitionMeasureBase
mulan.evaluation.measure.LabelBasedRecall
- All Implemented Interfaces:
- Serializable, Measure
- Direct Known Subclasses:
- MacroRecall, MicroRecall
public abstract class LabelBasedRecall
- extends LabelBasedBipartitionMeasureBase
Common class for the micro/macro label-based recall measures.
- Version:
- 2012.05.29
- Author:
- Grigorios Tsoumakas
- See Also:
- Serialized Form
Constructor Summary |
LabelBasedRecall(int numOfLabels)
Constructs a new object with given number of labels |
Method Summary |
double |
getIdealValue()
Gets an 'ideal' value of a measure. |
LabelBasedRecall
public LabelBasedRecall(int numOfLabels)
- Constructs a new object with given number of labels
- Parameters:
numOfLabels
- the number of labels
getIdealValue
public double getIdealValue()
- Description copied from interface:
Measure
- Gets an 'ideal' value of a measure. The 'ideal' means, that the value
represents the best achievable performance of a learner for an prediction of
a multi-label task and associated true labels.
- Returns:
- the ideal value