Kullback Leibler Distance (or divergence)

 

K-L距离(相对熵)

K-L距离是两个完全确定的概率分布的非相似性度量。

1.定义:

p1(x)p2(x)是两个连续概率分布,根据定义,p1(x) p2(x)K-L距离D(p1,p2)为:

 

 

离散情况也类似。

如果用E表示p1分布的期望,上述表达式也可写作:

 

 

 

 

 

2.基本属性:

l         D(p1,p2) 的平均值,其中p1(x)为参考分布

l         K-L距离总是非负的。当两个分布想同时它的值是零。

l         K-L距离不是关于p1(x) p2(x)对称的,他也不是一个数学意义上的距离。

我们常常见到的是p1 p2K-L距离的的对称形式,即:

 

 

 

 

K-L距离通常很难精确地计算出来,但是两个分部都是正态分布是计算还是可以实现的。计算过程有点长但是相当有益的。

 

 

 

Kullback Leibler Distance (KL)

 
The Kullback Leibler distance (KL-distance) is a natural distance function from a "true" probability distribution, p, to a "target" probability distribution, q. It can be interpreted as the expected extra message-length per datum due to using a code based on the wrong (target) distribution compared to using a code based on the true distribution.
 
For discrete (not necessarily finite) probability distributions, p={p 1, ..., p n} and q={q 1, ..., q n}, the KL-distance is defined to be
 
KL(p, q) = Σi p i . log 2( pi / qi )
 
For continuous probability densities, the sum is replaced by an integral.
 
KL(p, p) = 0
KL(p, q) ≥ 0
 
Note that the KL-distance is not, in general, symmetric.

From:

http://www.aiaccess.net/English/Glossaries/GlosMod/e_gm_kullbak.htm#tut_1_basic

 

http://www.csse.monash.edu.au/~lloyd/tildeMML/KL/

 

 

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值