mulan.evaluation.measure
Class HierarchicalLoss

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.HierarchicalLoss
All Implemented Interfaces:
Serializable, Measure

public class HierarchicalLoss
extends LossBasedBipartitionMeasureBase

Implementation of the Hierarchical loss measure.

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
HierarchicalLoss(MultiLabelInstances data)
          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

HierarchicalLoss

public HierarchicalLoss(MultiLabelInstances data)
Creates an instance of this object based on the corresponding loss function

Parameters:
data - the test instances