mulan.evaluation.loss
Interface BipartitionLossFunction

All Superinterfaces:
MultiLabelLossFunction
All Known Implementing Classes:
BipartitionLossFunctionBase, HammingLoss, HierarchicalLoss

public interface BipartitionLossFunction
extends MultiLabelLossFunction

Interfance for bipartition loss functions

Version:
2010.12.01
Author:
Grigorios Tsoumakas

Method Summary
 double computeLoss(boolean[] bipartition, boolean[] groundTruth)
          Computes the bipartition loss function
 
Methods inherited from interface mulan.evaluation.loss.MultiLabelLossFunction
computeLoss, getName
 

Method Detail

computeLoss

double computeLoss(boolean[] bipartition,
                   boolean[] groundTruth)
Computes the bipartition loss function

Parameters:
bipartition - the biprtition of the learner for an example
groundTruth - the ground truth of the example
Returns:
the value of the loss function