uk.ac.ed.inf.enzml.mulan.learn
Class Evaluator
java.lang.Object
mulan.evaluation.Evaluator
uk.ac.ed.inf.enzml.mulan.learn.Evaluator
- Direct Known Subclasses:
- MulanCrossEvaluator
public class Evaluator
- extends mulan.evaluation.Evaluator
Prepares the evaluation measures taking into consideration the dataset size.
MicroAUC and MacroAUC are *not* calculated for datasets > 100,000 instances.
- Version:
- 7 Apr 2011
- Author:
- Luna De Ferrari luna.deferrari-at-ed.ac.uk
|
Method Summary |
mulan.evaluation.Evaluation |
evaluate(mulan.classifier.MultiLabelLearner learner,
mulan.data.MultiLabelInstances data)
Evaluates a MultiLabelLearner on given test data set. |
| Methods inherited from class mulan.evaluation.Evaluator |
crossValidate, crossValidate, evaluate, setSeed, setStrict |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Evaluator
public Evaluator()
evaluate
public mulan.evaluation.Evaluation evaluate(mulan.classifier.MultiLabelLearner learner,
mulan.data.MultiLabelInstances data)
throws java.lang.IllegalArgumentException,
java.lang.Exception
- Evaluates a
MultiLabelLearner on given test data set.
- Overrides:
evaluate in class mulan.evaluation.Evaluator
- Parameters:
learner - the learner to be evaluateddata - the data set for evaluation
- Returns:
- the evaluation result
- Throws:
java.lang.IllegalArgumentException - if either of input parameters is null.
java.lang.Exception