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

Write unit tests for parallel prediction and parallel refitting #33

Closed TommyJones closed 4 years ago

TommyJones commented 4 years ago

While you're at it, build in checks so that you don't have more threads than documents for predict.

Sanity check number of documents per thread too. If average is too low, then issue a warning/message and correction. Check Mallet docs to see if they have a rule of thumb.

TommyJones commented 4 years ago

le fin 35ce77fa64386bef098440dc18295de35b91415d