static double |
Math.distance(SparseArray x,
SparseArray y) |
The Euclidean distance.
|
static double |
Math.dot(SparseArray x,
SparseArray y) |
Returns the dot product between two sparse arrays.
|
static double |
Math.JensenShannonDivergence(double[] x,
SparseArray y) |
Jensen-Shannon divergence JS(P||Q) = (KL(P||M) + KL(Q||M)) / 2, where
M = (P+Q)/2.
|
static double |
Math.JensenShannonDivergence(SparseArray x,
double[] y) |
Jensen-Shannon divergence JS(P||Q) = (KL(P||M) + KL(Q||M)) / 2, where
M = (P+Q)/2.
|
static double |
Math.JensenShannonDivergence(SparseArray x,
SparseArray y) |
Jensen-Shannon divergence JS(P||Q) = (KL(P||M) + KL(Q||M)) / 2, where
M = (P+Q)/2.
|
static double |
Math.KullbackLeiblerDivergence(double[] x,
SparseArray y) |
Kullback-Leibler divergence.
|
static double |
Math.KullbackLeiblerDivergence(SparseArray x,
double[] y) |
Kullback-Leibler divergence.
|
static double |
Math.KullbackLeiblerDivergence(SparseArray x,
SparseArray y) |
Kullback-Leibler divergence.
|
static double |
Math.squaredDistance(SparseArray x,
SparseArray y) |
The Euclidean distance.
|