|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectes.nlp.uned.weps.evaluation.ClusteringEvaluation
public class ClusteringEvaluation
This class holds the results for different clustering evaluation measures using a key and an answer clusterings.
Constructor Summary | |
---|---|
ClusteringEvaluation()
|
|
ClusteringEvaluation(Clustering key,
Clustering answer)
The Constructor. |
Method Summary | |
---|---|
Clustering |
getAnswer()
Gets the answer. |
Clustering |
getKey()
Gets the key. |
java.util.HashMap<java.lang.String,java.lang.Double> |
getMeasure2result()
Gets the measure2result. |
java.lang.String[] |
getMeasures()
Gets the measures. |
double |
getScore(java.lang.String measure_id)
Gets the score. |
double |
getScore(java.lang.String measure_id,
int round_precision)
Gets the score. |
void |
setScore(java.lang.String measure_id,
double value)
Sets the score. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClusteringEvaluation(Clustering key, Clustering answer)
key
- the keyanswer
- the answerpublic ClusteringEvaluation()
Method Detail |
---|
public Clustering getAnswer()
public Clustering getKey()
public java.util.HashMap<java.lang.String,java.lang.Double> getMeasure2result()
public java.lang.String[] getMeasures()
public void setScore(java.lang.String measure_id, double value)
measure_id
- the measure_idvalue
- the valuepublic double getScore(java.lang.String measure_id)
measure_id
- the measure_id
public double getScore(java.lang.String measure_id, int round_precision)
measure_id
- the measure_idround_precision
- the round_precision
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |