|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object mulan.evaluation.Evaluator
public class Evaluator
Evaluator - responsible for generating evaluation data
Constructor Summary | |
---|---|
Evaluator()
|
Method Summary | |
---|---|
MultipleEvaluation |
crossValidate(MultiLabelLearner learner,
MultiLabelInstances data,
int someFolds)
Evaluates a MultiLabelLearner via cross-validation on given data set with defined number of folds and seed. |
MultipleEvaluation |
crossValidate(MultiLabelLearner learner,
MultiLabelInstances data,
List<Measure> measures,
int someFolds)
Evaluates a MultiLabelLearner via cross-validation on given data set using given evaluation measures with defined number of folds and seed. |
Evaluation |
evaluate(MultiLabelLearner learner,
MultiLabelInstances data)
Evaluates a MultiLabelLearner on given test data set. |
Evaluation |
evaluate(MultiLabelLearner learner,
MultiLabelInstances data,
List<Measure> measures)
Evaluates a MultiLabelLearner on given test data set using specified evaluation measures |
void |
setSeed(int aSeed)
Sets the seed for reproduction of cross-validation results |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Evaluator()
Method Detail |
---|
public void setSeed(int aSeed)
aSeed
- seed for reproduction of cross-validation resultspublic Evaluation evaluate(MultiLabelLearner learner, MultiLabelInstances data, List<Measure> measures) throws IllegalArgumentException, Exception
MultiLabelLearner
on given test data set using specified evaluation measures
learner
- the learner to be evaluated via cross-validationdata
- the data set for cross-validationmeasures
- the evaluation measures to compute
IllegalArgumentException
- if an input parameter is null
Exception
public Evaluation evaluate(MultiLabelLearner learner, MultiLabelInstances data) throws IllegalArgumentException, Exception
MultiLabelLearner
on given test data set.
learner
- the learner to be evaluateddata
- the data set for evaluation
IllegalArgumentException
- if either of input parameters is null.
Exception
public MultipleEvaluation crossValidate(MultiLabelLearner learner, MultiLabelInstances data, int someFolds)
MultiLabelLearner
via cross-validation on given data set with defined number of folds and seed.
learner
- the learner to be evaluated via cross-validationdata
- the multi-label data set for cross-validationsomeFolds
-
MultipleEvaluation
object holding the resultspublic MultipleEvaluation crossValidate(MultiLabelLearner learner, MultiLabelInstances data, List<Measure> measures, int someFolds)
MultiLabelLearner
via cross-validation on given data set using given evaluation measures with defined number of folds and seed.
learner
- the learner to be evaluated via cross-validationdata
- the multi-label data set for cross-validationmeasures
- the evaluation measures to computesomeFolds
-
MultipleEvaluation
object holding the results
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |