-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
suppress log output for mallet LDA #3009
Comments
IIRC we removed the Mallet wrapper from Gensim altogether in 4.0.0. CC @mpenkov . If so, we can't add any new features to it, although you're free to copy the wrapper code from 3.8.3 and use it. |
Thanks, I don't see any mention to it in the changelog. but ok thanks for your answer. For a small corpus I am getting better coherence with Mallet wrapper than built gensim lda. Should I try gensim nmf instead? |
Yes, Gibbs sampling (~Mallet) gives more accurate results than variational methods (~Gensim). NMF is another option for interpretable (non-negative) topics. Whether / which of these methods will work best for you depends on the task, and a million other factors like preprocessing, parameters etc. |
You're right, that PR is still open = unreleased in 4.0.0beta: #2972 |
OK so I solved the issue: just for reference this is what I did: |
Thanks for sharing your solution. Yes, out of all the wrappers, the Mallet wrapper is the one people use the most. Perhaps we could keep this one… if there's someone who could commit to maintaining it. |
I am running gensim LDA wrapper in a Google Cloud Run instance and I would like to suppress the logging during LDA build because it pollutes the logging output of the cloud run instance. It would be possible to add such an option to the gensim wrapper to mallet LDA?
The text was updated successfully, but these errors were encountered: