Topic Modeling, Data Science, Machine Learning, NLP, Tips And Tricks.
use “batch”. The SVI paper goes in depth: Source: Hoffman et al. (2013) As a rule of thumb, “online” only requires 10% the training time of “batch” to get equally good results. To properly use the “online” mode for large corpora, you MUST set total_samples to the total number of documents in your