TommyJones / tidylda

Implements an algorithim for Latent Dirichlet Allocation using style conventions from the [tidyverse](https://style.tidyverse.org/) and [tidymodels](https://tidymodels.github.io/model-implementation-principles/index.html).
Other
41 stars 3 forks source link

optimize alpha using fixed point iteration #34

Open TommyJones opened 4 years ago

TommyJones commented 4 years ago

See https://tminka.github.io/papers/dirichlet/minka-dirichlet.pdf

This is the optimization done in MALLET https://github.com/mimno/Mallet/blob/024a64ff9caf3f54586c5f70399da001f208305b/src/cc/mallet/types/Dirichlet.java#L683