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
replace `format_raw_lda_outputs` with `new_tidylda` #43
The purpose of constructors is to help you, the developer. [...] The constructor is a developer function: it will be called in many places, by an experienced user. That means it’s OK to trade a little safety in return for performance, and you should avoid potentially time-consuming checks in the constructor.
I think I missed the point of having a constructor function of the form
new_x
when I first wrote this part of the package.The constructor is supposed to have the same functionality as
format_raw_lda_outputs
.See: https://adv-r.hadley.nz/s3.html#s3-constructor