es.nlp.uned.weps.evaluation
Class TeamEvaluation

java.lang.Object
  extended by es.nlp.uned.weps.evaluation.TeamEvaluation

public class TeamEvaluation
extends java.lang.Object

The Class TeamEvaluation.


Constructor Summary
TeamEvaluation(java.io.File evaluationFile)
          The Constructor.
TeamEvaluation(java.lang.String team_name, boolean is_baseline, java.util.HashMap<java.lang.String,ClusteringEvaluation> topic2evaluation)
          The Constructor.
 
Method Summary
 double getAveragedScore(java.lang.String measure_id, int float_precision)
          Gets the averaged score for a particular measure.
 java.lang.String getTeamName()
          Gets the team_name.
 java.util.HashMap<java.lang.String,ClusteringEvaluation> getTopic2evaluation()
          Gets the map from clustering names to their evaluation
 java.util.Set<java.lang.String> getTopicNames()
          Gets the topic names (names of clustering problems).
 boolean isIsBaseline()
          Checks if this evaluation was made with a baseline system
 void save(java.io.File outputFile)
          Saves the evaluation in a comma separated file.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TeamEvaluation

public TeamEvaluation(java.lang.String team_name,
                      boolean is_baseline,
                      java.util.HashMap<java.lang.String,ClusteringEvaluation> topic2evaluation)
The Constructor.

Parameters:
topic2evaluation - the topic2evaluation
team_name - the team_name
is_baseline - the is_baseline

TeamEvaluation

public TeamEvaluation(java.io.File evaluationFile)
The Constructor.

Parameters:
input_path - the input_path
Method Detail

isIsBaseline

public boolean isIsBaseline()
Checks if this evaluation was made with a baseline system

Returns:
true, if is is_baseline

getTeamName

public java.lang.String getTeamName()
Gets the team_name.

Returns:
the team_name

getTopic2evaluation

public java.util.HashMap<java.lang.String,ClusteringEvaluation> getTopic2evaluation()
Gets the map from clustering names to their evaluation

Returns:
the topic2evaluation

getTopicNames

public java.util.Set<java.lang.String> getTopicNames()
Gets the topic names (names of clustering problems).

Returns:
the topics

getAveragedScore

public double getAveragedScore(java.lang.String measure_id,
                               int float_precision)
Gets the averaged score for a particular measure.

Parameters:
measure_id - the measure_id as specified in the class Measures
float_precision - the float precision we want for the result
Returns:
the averaged score

save

public void save(java.io.File outputFile)
          throws java.io.IOException
Saves the evaluation in a comma separated file.

Parameters:
output_path - the output_path
Throws:
java.io.IOException - the IO exception