|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmulan.evaluation.measure.MeasureBase
mulan.evaluation.measure.ConfidenceMeasureBase
mulan.evaluation.measure.LabelBasedAUC
public abstract class LabelBasedAUC
Implementation of the label-based macro precision measure.
| Field Summary | |
|---|---|
protected FastVector |
all_Predictions
The predictions for all labels |
protected FastVector[] |
m_Predictions
The predictions for each label |
protected int |
numOfLabels
The number of labels |
| Constructor Summary | |
|---|---|
LabelBasedAUC(int numOfLabels)
Creates a new instance of this class |
|
| Method Summary | |
|---|---|
double |
getIdealValue()
Gets an 'ideal' value of a measure. |
void |
reset()
Resets the cumulated measure value, so the process of computation can be started from beginning (e.g. for a new series of outputs from learning task). |
protected void |
updateConfidence(double[] confidences,
boolean[] truth)
Updates the measure for a new example |
| Methods inherited from class mulan.evaluation.measure.ConfidenceMeasureBase |
|---|
updateInternal |
| Methods inherited from class mulan.evaluation.measure.MeasureBase |
|---|
makeCopy, toString, update |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface mulan.evaluation.measure.Measure |
|---|
getName, getValue |
| Field Detail |
|---|
protected int numOfLabels
protected FastVector[] m_Predictions
protected FastVector all_Predictions
| Constructor Detail |
|---|
public LabelBasedAUC(int numOfLabels)
numOfLabels - the number of labels| Method Detail |
|---|
public void reset()
Measure
public double getIdealValue()
Measure
protected void updateConfidence(double[] confidences,
boolean[] truth)
ConfidenceMeasureBase
updateConfidence in class ConfidenceMeasureBaseconfidences - the confidences output by the learner for the exampletruth - the ground truth of the example
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||