当前位置:网站首页>[LDA] LDA theme model notes - mainly Dirichlet
[LDA] LDA theme model notes - mainly Dirichlet
2022-06-12 14:56:00 【Ice cream and Mousse Cake】
d To express an article ,z Show the theme ,w Means the word
This means , Dirichlet prior distribution produce A group of Polynomial distribution aggregate
in other words Dirichlet distribution produce Theme distribution ( That is to say doc-topic Distribution )( Hyperparameters α \alpha α Under the circumstances )
In Bayesian thought : Prior probability + Parameter estimation = Posterior probability
beta Distribution :
stay beta Distribution in beta Distribution studies “ A length of k Disordered sequence of ( Each number in the sequence is uniformly distributed ) in , The first k What distribution does a large number satisfy ” The problem of .( The vague self - generalization version of the corresponding part of the link ),
in other words , For each number in the sequence ,beta We can give a distribution of this number ,
in other words , For each number in the sequence , Just know the sort size of this number in the set ,beta The distribution gives the probability distribution of this number , The probability distribution can give the range in which this number is most likely to exist .
Actually beta Distribution is , The number of , This sequence is Prior knowledge .
Dirichlet :
Dirichlet is beta High dimensional version of distribution , You can get A priori distribution of polynomials .
Let's assume that , A set of polynomial distributions , Each distribution is different , You need to get these parameters that determine their differences ,( The parameter of the polynomial should be p1,p2,p3…pn such ?)
Then the Dirichlet distribution produces these Parameters of polynomial distribution A priori of ( transcendental : A possible probability distribution judged by experience ), let me put it another way , The Dirichlet distribution has no other conditions , Generate the probability distribution of polynomial parameters ( A complex formula ), Throw the dice at random under this probability distribution , Get the polynomial parameters (p1:0.5,p2:0.3), So we find the corresponding polynomial distribution ( emotional :0.5, economic :0.3), Then throw a dice from the corresponding polynomial distribution , Get specific topic Category ( emotional ).
Reference link csdn_ Dirichlet …
Some detailed derivation about Dirichlet datalearner
Add :
LDA The generation process : source :csdn_ Easy to understand lda( Giant length )
I don't know , If you have a problem, please point it out !! Gratitude !
边栏推荐
- C constant, cannot be changed
- USART(RS232422485)、I2C、SPI、CAN、USB总线
- [SPARK][CORE] 面试问题之什么是 external shuffle service?
- New features of ES6
- C常量,不能改变
- JD scanning code to obtain cookies
- Selenium advanced
- 启明云端分享| 通过Matter协议实例演示开关通过matter协议来做到对灯亮灭的控制
- Function recursion example
- Tensorrt based in-depth learning model deployment practice tutorial!
猜你喜欢

SQL cross database injection

用游戏来讲序列化与反序列化机制

Writing method of JUnit multithreading

【LDA】基础知识笔记——主要是AE、VAE

Can you believe it? It took me only two days to develop a management system

结构体示例
![[Writeup]BUU SQL COURSE1[入门级]](/img/eb/1b2541b04ca231cb07f1f3706f51c7.png)
[Writeup]BUU SQL COURSE1[入门级]

IMU的学习记录

JS (II) syntaxerror: cannot use import statement outside a module

New关键字、引用&与指针的学习记录
随机推荐
FIRSTVT和LASTVT白话版
SQL cross database injection
MH32F103ARPT6软硬件兼容替代STM32F103RCT6
Junit异常情况,断言异常信息不为空过的方法
【Optional】1. Map and ifpresent 2 Ofnullable and orelse
你敢信?開發一個管理系統我只用了兩天
程序构造和解释之过程抽象
JS (III) convert ES6 syntax to Es5 syntax
数组相关内容
Mobileone: the mobile terminal only needs 1ms of high-performance backbone. You deserve it!
野指针理解
Detailed explanation of factory pattern (simple factory pattern, factory method pattern, abstract factory pattern) Scala code demonstration
junit测试套件方法整理(方法二不太好用)
Common assertions in JUnit testing
Scala下载及IDEA安装Scala插件(保姆级教程超详细)
Mh32f103arpt6 hardware and software compatible alternative to stm32f103rct6
Function recursion example
Pointer related concepts
启明云端分享| 通过Matter协议实例演示开关通过matter协议来做到对灯亮灭的控制
【LDA】EM变分推理 粗略版笔记【待完善