|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cc.mallet.cluster.clustering_scorer.PairwiseScorer
public class PairwiseScorer
For each pair of Instances, if the pair is predicted to be in the same cluster, increment the total by the evaluator's score for merging the two. Else, increment by 1 - evaluator score. Divide by number of pairs.
Constructor Summary | |
---|---|
PairwiseScorer(NeighborEvaluator evaluator)
|
Method Summary | |
---|---|
double |
score(Clustering clustering)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PairwiseScorer(NeighborEvaluator evaluator)
Method Detail |
---|
public double score(Clustering clustering)
score
in interface ClusteringScorer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |