@Reference(authors="D. M. Endres, J. E. Schindelin", title="A new metric for probability distributions", booktitle="IEEE Transactions on Information Theory, 49(7)", url="http://dx.doi.org/10.1109/TIT.2003.813506") public class SqrtJensenShannonDivergenceDistanceFunction extends AbstractNumberVectorDistanceFunction
D. M. Endres, J. E. Schindelin
A new metric for probability distributions
IEEE Transactions on Information Theory, 49(7).
Modifier and Type | Class and Description |
---|---|
static class |
SqrtJensenShannonDivergenceDistanceFunction.Parameterizer
Parameterization class, using the static instance.
|
Modifier and Type | Field and Description |
---|---|
static SqrtJensenShannonDivergenceDistanceFunction |
STATIC
Static instance.
|
Constructor and Description |
---|
SqrtJensenShannonDivergenceDistanceFunction()
Deprecated.
Use static instance!
|
Modifier and Type | Method and Description |
---|---|
double |
distance(NumberVector v1,
NumberVector v2)
Computes the distance between two given DatabaseObjects according to this
distance function.
|
boolean |
equals(Object obj) |
boolean |
isMetric()
Is this distance function metric (in particular, does it satisfy the
triangle equation?)
|
String |
toString() |
dimensionality, dimensionality, dimensionality, dimensionality, getInputTypeRestriction
instantiate, isSymmetric
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
instantiate, isSymmetric
public static final SqrtJensenShannonDivergenceDistanceFunction STATIC
@Deprecated public SqrtJensenShannonDivergenceDistanceFunction()
public double distance(NumberVector v1, NumberVector v2)
PrimitiveDistanceFunction
distance
in interface NumberVectorDistanceFunction<NumberVector>
distance
in interface PrimitiveDistanceFunction<NumberVector>
distance
in class AbstractPrimitiveDistanceFunction<NumberVector>
v1
- first DatabaseObjectv2
- second DatabaseObjectpublic boolean isMetric()
DistanceFunction
isMetric
in interface DistanceFunction<NumberVector>
isMetric
in class AbstractPrimitiveDistanceFunction<NumberVector>
true
when metric.Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.