|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cc.mallet.types.NormalizedDotProductMetric
public class NormalizedDotProductMetric
Computes
1 - [
Constructor Summary
NormalizedDotProductMetric()
Method Summary
double
distance(SparseVector a,
int hashCodeA,
SparseVector b,
int hashCodeB)
double
distance(SparseVector a,
SparseVector b)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructor Detail
NormalizedDotProductMetric
public NormalizedDotProductMetric()
Method Detail
distance
public double distance(SparseVector a,
SparseVector b)
distance
public double distance(SparseVector a,
int hashCodeA,
SparseVector b,
int hashCodeB)
distance
in interface CachedMetric
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD