uk.ac.ed.inf.enzml.mulan.learn
Class EvaluatorNoAUC

java.lang.Object
  extended by mulan.evaluation.Evaluator
      extended by uk.ac.ed.inf.enzml.mulan.learn.EvaluatorNoAUC
Direct Known Subclasses:
MulanCrossEvaluator

public class EvaluatorNoAUC
extends mulan.evaluation.Evaluator

Prepares the evaluation measures taking into consideration the dataset size. MicroAUC and MacroAUC are *not* calculated for datasets > n instances.

Version:
7 Apr 2011
Author:
Luna De Ferrari luna.deferrari-at-ed.ac.uk

Constructor Summary
EvaluatorNoAUC()
           
 
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
 

Constructor Detail

EvaluatorNoAUC

public EvaluatorNoAUC()
Method Detail

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 evaluated
data - the data set for evaluation
Returns:
the evaluation result
Throws:
java.lang.IllegalArgumentException - if either of input parameters is null.
java.lang.Exception