|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cc.mallet.cluster.evaluate.ClusteringEvaluator cc.mallet.cluster.evaluate.AccuracyEvaluator
public class AccuracyEvaluator
Accuracy of a clustering is (truePositive + trueNegative) / (numberPairwiseComparisons)
Constructor Summary | |
---|---|
AccuracyEvaluator()
|
Method Summary | |
---|---|
java.lang.String |
evaluate(Clustering truth,
Clustering predicted)
|
java.lang.String |
evaluateTotals()
|
double[] |
getEvaluationScores(Clustering truth,
Clustering predicted)
|
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 |
---|
public AccuracyEvaluator()
Method Detail |
---|
public java.lang.String evaluate(Clustering truth, Clustering predicted)
evaluate
in class ClusteringEvaluator
public java.lang.String evaluateTotals()
evaluateTotals
in class ClusteringEvaluator
public double[] getEvaluationScores(Clustering truth, Clustering predicted)
getEvaluationScores
in class ClusteringEvaluator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |