zoukankan
html css js c++ java
熵、交叉熵、相对熵(KL 散度)意义及其关系
熵:
H
(
p
)
=
−
∑
x
p
(
x
)
log
p
(
x
)
交叉熵:
H
(
p
,
q
)
=
−
∑
x
p
(
x
)
log
q
(
x
)
相对熵:
K
L
(
p
∥
q
)
=
−
∑
x
p
(
x
)
log
q
(
x
)
p
(
x
)
相对熵(relative entropy)也叫 KL 散度(
KL divergence
);
用来度量两分布之间的
不相似性
(dissimilarity);
通过交叉熵的定义,连接三者:
H
(
p
,
q
)
=
=
=
−
∑
x
p
(
x
)
log
q
(
x
)
−
∑
x
p
(
x
)
log
p
(
x
)
−
∑
x
p
(
x
)
log
q
(
x
)
p
(
x
)
H
(
p
)
+
K
L
(
p
∥
q
)
1. 简森不等式与 KL散度
K
L
(
p
∥
q
)
=
−
∫
p
(
x
)
ln
q
(
x
)
p
(
x
)
d
x
因为
−
ln
x
是凸函数,所以满足,凸函数的简森不等式的性质:
f
(
E
)
≤
E
(
f
)
这里我们令
f
(
⋅
)
=
−
ln
x
,则其是关于
x
的凸函数,因此:
E
(
f
(
)
)
≥
f
(
E
)
⇓
−
∫
p
(
x
)
ln
q
(
x
)
p
(
x
)
d
x
≥
−
ln
∫
q
(
x
)
d
x
=
0
也即 KL 散度恒大于等于 0;
查看全文
相关阅读:
《圣女贞德》全技能合成表(psp)
[转] 委外加工Procurement
SAP HR TCode List
IDES ABAP/4破解及client copy [转]
[ SAP Interview ] SAP Basis Consultant Questionnaire
[FI/CO] Controlling Question From Key User / Q & A
SAP Monthly Closed
[SAP Dictionary]
UI Leader infragistic 2008 CLR download address link (Infragistics NetAdvantage For .NET 2008 CLR)
SAP SubContract Processing
原文地址:https://www.cnblogs.com/mtcnn/p/9422588.html
最新文章
Objective C内存管理进阶(一):实践准则
iPhone开发中,在XCode下混合编译C++/ObjectiveC
Objective C内存管理进阶(二):理解autorelease
#define的里里外外你知多少
程序员必知8大排序3大查找(一)
ObjectiveC 什么是类
ObjC: Foundation Kit
在VS2010中使用Crystal Reports
在水晶报表中添加转换金额大写功能
寻找Excel2007中消失的简繁转换功能
热门文章
Microsoft Chart Control 简单介绍
强制删除文件
c# 对unicode解码
HTTP代理服务器
突然断电造成的电脑无法启动的解决方案
从客户端(exportContent="<xml version="1.0" e...")中检测到有潜在危险的 Request.Form 值。
SPRO SAP FI/CO 模块设置 zh
[FICO] SU01 Role Profile Edit TCode中文List
[SAP IDES ECC 6.0] FW: SAP Default instance Config.
《圣女贞德》全技能合成表(psp)
Copyright © 2011-2022 走看看