mulan.evaluation
Class Evaluation

java.lang.Object
  extended by mulan.evaluation.Evaluation

public class Evaluation
extends Object

Simple class that includes a list of evaluation measures returned from a call to the static methods of Evaluator for evaluation purposes.

Version:
2010.11.05
Author:
Jozef Vilcek, Grigorios Tsoumakas
See Also:
Evaluator

Constructor Summary
Evaluation(List<Measure> someMeasures, MultiLabelInstances data)
          Creates a new evaluation object by deep copying the measure objects that are given as parameters
 
Method Summary
 List<Measure> getMeasures()
          Returns the evaluation measures
 String toCSV()
          Returns a CSV representation of the calculated measures
 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

Evaluation

public Evaluation(List<Measure> someMeasures,
                  MultiLabelInstances data)
           throws Exception
Creates a new evaluation object by deep copying the measure objects that are given as parameters

Parameters:
someMeasures - calculated measures
data - the evaluation data used for obtaining label names for per outputting per label values of macro average measures
Throws:
Exception
Method Detail

toString

public String toString()
Returns a string with the results of the evaluation

Overrides:
toString in class Object
Returns:
a string with the results of the evaluation

toCSV

public String toCSV()
Returns a CSV representation of the calculated measures

Returns:
the CSV representation of the calculated measures

getMeasures

public List<Measure> getMeasures()
Returns the evaluation measures

Returns:
the evaluation measures