当前位置:网站首页>【LDA】EM变分推理 粗略版笔记【待完善
【LDA】EM变分推理 粗略版笔记【待完善
2022-06-12 14:39:00 【冰淇淋和慕斯蛋糕】
大佬说的很详细了 :csdn_机器学习之潜在狄利克雷分配(LDA)变分EM算法及python实现
简单概括一下:
思想:(原文摘录:)
假设模型是联合概率分布p(x,z),其中 观测变量x , 隐变量 z ,包括参数。
目标是学习模型的后验概率 p ( z ∣ x )。[tip:已知x,求隐变量z]
但是这个分布复杂无法直接求解,所以考虑用概率分布 q ( z ) 来近似条件概率分布 p ( z ∣ x ),
之后用KL散度KL(q(z)||p(z|x)) 计算两者之间的相似度,q(z)称为变分分布。
KL散度的形式:
因为KL散度大于0,得到下面的式子
所以不等号左边叫:证据 evidence
不等号右边叫: 证据下界 ELBO
这里左边logp(x)是定值,当右边越大,散度越小,两者越相似,( q ( z ) 和p(z∣x)的分布越接近),因此要让证据下界最大化。
然后要计算证据下界 ELBO(q),得需要写出联合概率密度 p(x,z)和 q ( z ),然后求log,然后求期望。
**但是后面lda的部分没看懂
边栏推荐
- [wechat applet] 6.1 applet configuration file
- 【Instant】1. Equivalent to date class 2 Represents a moment
- [OCR] aspriseocr C # English, number recognition (not Chinese)
- C语言中主函数调用另外一个函数,汇编代码理解
- Player actual combat 14 display YUV
- [lambda operation jcf]
- Leetcode 2185. Counts the string containing the given prefix
- Player practice 20 audio thread and video thread
- Player practice 19 xaudio turn on audio
- Configuring OSPF pseudo connection for Huawei devices
猜你喜欢

Perfect ending | detailed explanation of the implementation principle of go Distributed Link Tracking
![[wechat applet] 3 The first wechat applet](/img/40/1571c11363e72f5a1e932586a1f240.jpg)
[wechat applet] 3 The first wechat applet

Huawei equipment is configured with H virtual private network

Ppt cannot be opened, always prompt how to fix it

QT realize picture dragging

Appnium (II) installation and basic use of mitmproxy

Player practice 20 audio thread and video thread

Reverse the encryption parameters of a hot water software

Player practice 20 unpacking thread

jenkins相关
随机推荐
MobileOne: 移动端仅需1ms的高性能骨干,你值得拥有!
安凯微电子冲刺科创板:年营收5亿 小米产业基金是股东
jenkins相关
junit测试套件方法整理(方法二不太好用)
Producers (send syncask requests) and consumers (with xxxask monitoring and Implementation)
Leetcode 2185. Counts the string containing the given prefix
C secret script Chapter 3 (detailed explanation of string function) (Section 1)
How to set, reset and reverse bit
【MySQL】数据库基本操作
JMeter (V) pressure test of Excel file upload interface
【OCR】AspriseOCR C# 英文、數字識別(中文不行)
数据的收集
Jetpack架构组件学习(3)——Activity Results API使用
Appnium (II) installation and basic use of mitmproxy
JS (III) convert ES6 syntax to Es5 syntax
Tu oses le croire? Il m'a fallu deux jours pour développer un système de gestion.
Communication flow analysis
Player practice 20 audio thread and video thread
C secret script Chapter 1: data storage (in-depth analysis)
Visual positioning guidance system for industrial manipulator (robot)