cc.mallet.cluster.evaluate
Class MUCEvaluator
java.lang.Object
cc.mallet.cluster.evaluate.ClusteringEvaluator
cc.mallet.cluster.evaluate.MUCEvaluator
public class MUCEvaluator
- extends ClusteringEvaluator
Evaluate a Clustering using the MUC evaluation metric. See Marc
Vilain, John Burger, John Aberdeen, Dennis Connolly, and Lynette
Hirschman. 1995. A model-theoretic coreference scoring scheme. In
Proceedings fo the 6th Message Understanding Conference
(MUC6). 45--52. Morgan Kaufmann.
Note that MUC more or less ignores singleton clusters.
- Since:
- 1.0
- Version:
- 1.0
- Author:
- "Aron Culotta"
- See Also:
ClusteringEvaluator
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MUCEvaluator
public MUCEvaluator()
evaluate
public java.lang.String evaluate(Clustering truth,
Clustering predicted)
- Specified by:
evaluate
in class ClusteringEvaluator
- Returns:
- A String summarizing the evaluation metric.
evaluateTotals
public java.lang.String evaluateTotals()
- Specified by:
evaluateTotals
in class ClusteringEvaluator
- Returns:
- If the ClusteringEvaluator maintains state between calls
to evaluate, this method will return the total evaluation metric
since the first evaluation.
getEvaluationScores
public double[] getEvaluationScores(Clustering truth,
Clustering predicted)
- Specified by:
getEvaluationScores
in class ClusteringEvaluator