|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgr.demokritos.iit.jinsect.algorithms.statistics.KLDivergenceCalculator
public class KLDivergenceCalculator
Computes the entropy based KL Divergence between two distributions
Constructor Summary | |
---|---|
KLDivergenceCalculator()
|
Method Summary | |
---|---|
static double |
KL_asymmetric(Distribution p,
Distribution q)
The static method where the computation of KL_asymmetric is performed. |
static double |
KL_symmetric(Distribution p,
Distribution q)
The static method where the computation of symmetric KL is performed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public KLDivergenceCalculator()
Method Detail |
---|
public static double KL_asymmetric(Distribution p, Distribution q)
p
- the first Distribution
.q
- the second Distribution
.
public static double KL_symmetric(Distribution p, Distribution q)
p
- the first Distribution
.q
- the second Distribution
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |