cc.mallet.cluster.evaluate
Class ClusteringEvaluators

java.lang.Object
  extended by cc.mallet.cluster.evaluate.ClusteringEvaluator
      extended by cc.mallet.cluster.evaluate.ClusteringEvaluators

public class ClusteringEvaluators
extends ClusteringEvaluator

A list of ClusteringEvaluators.

Since:
1.0
Version:
1.0
Author:
"Aron Culotta"

Constructor Summary
ClusteringEvaluators(ClusteringEvaluator[] evaluators)
           
 
Method Summary
 java.lang.String evaluate(Clustering truth, Clustering predicted)
           
 java.lang.String evaluateTotals()
           
 double[] getEvaluationScores(Clustering truth, Clustering predicted)
           
 int size()
           
 
Methods inherited from class cc.mallet.cluster.evaluate.ClusteringEvaluator
evaluate, evaluate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClusteringEvaluators

public ClusteringEvaluators(ClusteringEvaluator[] evaluators)
Method Detail

evaluate

public java.lang.String evaluate(Clustering truth,
                                 Clustering predicted)
Specified by:
evaluate in class ClusteringEvaluator
Parameters:
truth -
predicted -
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.

size

public int size()

getEvaluationScores

public double[] getEvaluationScores(Clustering truth,
                                    Clustering predicted)
Specified by:
getEvaluationScores in class ClusteringEvaluator