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

Issue47 #64

Closed TommyJones closed 2 years ago

TommyJones commented 2 years ago

Solves the issue of large matrices not being able to lexicalize due to transposing the dtm. The solution was to

  1. add flags to makevars and makevars.win: -DARMA_64BIT_WORD=1
  2. add the #define ARMA_64BIT_WORD 1 flag before #include

Solution can be found here