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).
Currently, the log likelihood calculation is the same one used in textmineR. This calculation makes sense to me given the conventional definition of likelihood: probability of the data given the model parameters. However the more widely accepted likelihood calculation incorporates prior information. I'd like to return both likelihoods. The latter has continually been problematic for me to calculate, given that its positive.
Currently, the log likelihood calculation is the same one used in textmineR. This calculation makes sense to me given the conventional definition of likelihood: probability of the data given the model parameters. However the more widely accepted likelihood calculation incorporates prior information. I'd like to return both likelihoods. The latter has continually been problematic for me to calculate, given that its positive.