|
Jacson | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.spieleck.app.cngram.CosMetric
public class CosMetric
Cosine Metric This is nicely valued between zero and one
Constructor Summary | |
---|---|
CosMetric()
|
Method Summary | |
---|---|
double |
diff(NGramProfile p1,
NGramProfile p2)
Return the difference between two profiles. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CosMetric()
Method Detail |
---|
public double diff(NGramProfile p1, NGramProfile p2)
NGramMetric
diff
in interface NGramMetric
|
spieleck.de | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |