How to speed up Pymc model compilation of a LDA topic model

+1 to @cluhmann. Also, you should use mixture distribution as the current implementation is quite inefficient. I suggest you take a look at: Naive Bayes model with PyMC3 - #10 by junpenglao

2 Likes