|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectes.nlp.uned.weps.evaluation.measures.Measure
es.nlp.uned.weps.evaluation.measures.Purity
public class Purity
Field Summary | |
---|---|
static java.lang.String |
ID
The PURITY. |
Constructor Summary | |
---|---|
Purity()
|
Method Summary | |
---|---|
java.lang.String |
getID()
|
double |
getScore(Clustering key,
Clustering answer)
Calculates the standard purity measure. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String ID
Constructor Detail |
---|
public Purity()
Method Detail |
---|
public double getScore(Clustering key, Clustering answer)
getScore
in class Measure
key
- the key clusteringanswer
- the answer clustering
public java.lang.String getID()
getID
in class Measure
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |