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 |
computeLoss
double computeLoss(boolean[] bipartition,
boolean[] groundTruth)
- Computes the bipartition loss function
- Parameters:
bipartition
- the biprtition of the learner for an examplegroundTruth
- the ground truth of the example
- Returns:
- the value of the loss function