@Reference(authors="S. Kullback", title="Information theory and statistics", booktitle="Information theory and statistics, Courier Dover Publications, 1997.") @Alias(value="kli") public class KullbackLeiblerDivergenceReverseAsymmetricDistanceFunction extends AbstractNumberVectorDistanceFunction
KullbackLeiblerDivergenceAsymmetricDistanceFunction
for the "forward"
version.
For a symmetric version, see JeffreyDivergenceDistanceFunction
.
Reference:
S. Kullback
Information theory and statistics
Courier Dover Publications, 1997.
Modifier and Type | Class and Description |
---|---|
static class |
KullbackLeiblerDivergenceReverseAsymmetricDistanceFunction.Parameterizer
Parameterization class, using the static instance.
|
Modifier and Type | Field and Description |
---|---|
static KullbackLeiblerDivergenceReverseAsymmetricDistanceFunction |
STATIC
Static instance.
|
Constructor and Description |
---|
KullbackLeiblerDivergenceReverseAsymmetricDistanceFunction()
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 |
isSymmetric()
Is this function symmetric?
|
String |
toString() |
dimensionality, dimensionality, dimensionality, dimensionality, getInputTypeRestriction
instantiate, isMetric
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
instantiate, isMetric
public static final KullbackLeiblerDivergenceReverseAsymmetricDistanceFunction STATIC
@Deprecated public KullbackLeiblerDivergenceReverseAsymmetricDistanceFunction()
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 isSymmetric()
DistanceFunction
isSymmetric
in interface DistanceFunction<NumberVector>
isSymmetric
in class AbstractPrimitiveDistanceFunction<NumberVector>
true
when symmetricCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.