mulan.evaluation.measure
Class HammingLoss

java.lang.Object
  extended by mulan.evaluation.measure.MeasureBase
      extended by mulan.evaluation.measure.BipartitionMeasureBase
          extended by mulan.evaluation.measure.ExampleBasedBipartitionMeasureBase
              extended by mulan.evaluation.measure.LossBasedBipartitionMeasureBase
                  extended by mulan.evaluation.measure.HammingLoss
All Implemented Interfaces:
Serializable, Measure

public class HammingLoss
extends LossBasedBipartitionMeasureBase

Implementation of the Hamming loss function.

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

Field Summary
 
Fields inherited from class mulan.evaluation.measure.ExampleBasedBipartitionMeasureBase
count, sum
 
Constructor Summary
HammingLoss()
          Creates an instance of this object based on the corresponding loss function
 
Method Summary
 
Methods inherited from class mulan.evaluation.measure.LossBasedBipartitionMeasureBase
getIdealValue, getName, updateBipartition
 
Methods inherited from class mulan.evaluation.measure.ExampleBasedBipartitionMeasureBase
getValue, reset
 
Methods inherited from class mulan.evaluation.measure.BipartitionMeasureBase
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

HammingLoss

public HammingLoss()
Creates an instance of this object based on the corresponding loss function