|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object mulan.evaluation.MultipleEvaluation
public class MultipleEvaluation
Simple class that includes an array, whose elements are lists of evaluation evaluations. Used to compute means and standard deviations of multiple evaluations (e.g. cross-validation)
Constructor Summary | |
---|---|
MultipleEvaluation(Evaluation[] someEvaluations,
MultiLabelInstances data)
Constructs a new object with given array of evaluations |
|
MultipleEvaluation(MultiLabelInstances data)
Constructs a new object |
Method Summary | |
---|---|
void |
addEvaluation(Evaluation evaluation)
Adds an evaluation results to the list of evaluations |
void |
calculateStatistics()
Computes mean and standard deviation of all evaluation measures |
double |
getMean(String measureName)
Returns the mean value of a measure |
String |
toCSV()
Returns a CSV string representation of the results |
String |
toString()
Returns a string with the results of the evaluation |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MultipleEvaluation(MultiLabelInstances data)
data
- the evaluation data used for obtaining label names for per
outputting per label values of macro average measurespublic MultipleEvaluation(Evaluation[] someEvaluations, MultiLabelInstances data)
data
- the evaluation data used for obtaining label names for per
outputting per label values of macro average measuressomeEvaluations
- Method Detail |
---|
public void calculateStatistics()
public void addEvaluation(Evaluation evaluation)
evaluation
- an evaluation resultpublic String toString()
toString
in class Object
public double getMean(String measureName)
measureName
- the name of the measure
public String toCSV()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |