@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 AbstractVectorDoubleDistanceFunction
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 |
doubleDistance(NumberVector<?> v1,
NumberVector<?> v2)
Computes the distance between two given Objects according to this distance
function.
|
boolean |
equals(Object obj) |
boolean |
isSymmetric()
Is this function symmetric?
|
String |
toString() |
dimensionality, dimensionality, dimensionality, dimensionality, distance, getDistanceFactory, getInputTypeRestriction
instantiate, isMetric
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
instantiate, isMetric
public static final KullbackLeiblerDivergenceReverseAsymmetricDistanceFunction STATIC
@Deprecated public KullbackLeiblerDivergenceReverseAsymmetricDistanceFunction()
public double doubleDistance(NumberVector<?> v1, NumberVector<?> v2)
PrimitiveDoubleDistanceFunction
v1
- first Objectv2
- second Objectpublic boolean isSymmetric()
DistanceFunction
isSymmetric
in interface DistanceFunction<NumberVector<?>,DoubleDistance>
isSymmetric
in class AbstractPrimitiveDistanceFunction<NumberVector<?>,DoubleDistance>
true
when symmetric