mulan.evaluation.measure
Class MicroAUC

java.lang.Object
  extended by mulan.evaluation.measure.MeasureBase
      extended by mulan.evaluation.measure.ConfidenceMeasureBase
          extended by mulan.evaluation.measure.LabelBasedAUC
              extended by mulan.evaluation.measure.MicroAUC
All Implemented Interfaces:
Serializable, Measure

public class MicroAUC
extends LabelBasedAUC

Implementation of the micro-averaged AUC measure.

Version:
2010.12.10
Author:
Grigorios Tsoumakas
See Also:
Serialized Form

Field Summary
 
Fields inherited from class mulan.evaluation.measure.LabelBasedAUC
all_Predictions, m_Predictions, numOfLabels
 
Constructor Summary
MicroAUC(int numOfLabels)
          Creates a new instance of this class
 
Method Summary
 String getName()
          Gets the name of a measure.
 double getValue()
          Gets the value of a measure.
 
Methods inherited from class mulan.evaluation.measure.LabelBasedAUC
getIdealValue, reset, updateConfidence
 
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
 

Constructor Detail

MicroAUC

public MicroAUC(int numOfLabels)
Creates a new instance of this class

Parameters:
numOfLabels -
Method Detail

getName

public String getName()
Description copied from interface: Measure
Gets the name of a measure.

Returns:
the name of a measure.

getValue

public double getValue()
Description copied from interface: Measure
Gets the value of a measure. The measure is incrementally cumulated for learner's prediction by each Measure.update(MultiLabelOutput, boolean[]) call. The value returned by the method, returns sum of all update calls divided by the number of calls (average of all measures for all predictions).

Returns:
the average measure value computed so far