LDA Topic Model Learning Note 3.5: Derivation of variational parameters

Source: Internet
Author: User

Now to deduce the process of getting the variational parameter update, which is part of the paper's appendix, to avoid getting bogged down in too much detail and to influence the overall understanding, you can not focus on the solution details when you first learn LDA. The first thing to write L about γ , ? Function. According to the previous definition of L: L (Gamma ,?;α,Beta )= E q [l ogP(θ ,Z,W|α,Beta )]? E q [l ogQ(θ ,Z)]
(1)
If you calculate 5 expectations separately, you can get the following equation:
(2)

The 5 expected calculations in the above formula use the following formulas, which are derived from the author's appendix:

5 Expected calculations:



Next, separate the γ Span style= "Display:inline-block; width:0px; Height:2.564em; " > The derivative of the deviation derivation is 0, and the solution γ Span style= "Display:inline-block; width:0px; Height:2.564em; " > 。
We simplify the (2) type of L, leaving only the ? About the item:

Deviation Guide:

Solution to:

For γ Span style= "Display:inline-block; width:0px; Height:2.564em; " > , same steps:

Main references "Latent Dirichlet Allocation"

LDA Topic Model Learning Note 3.5: Derivation of variational parameters

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.