-
-
Notifications
You must be signed in to change notification settings - Fork 26.2k
[MRG + 1] Add how lda's LDA differs from sckit-learn's LDA #5553
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
Conversation
Can you be a bit more explicit on the fact that scikit-learn also has an LDA. The second sentence should be something like "scikit-learn has a Latent Dirichlet Allocation. It differs from packages... because..." |
Will the |
yeah it should. lgtm. thanks :) |
@ariddell Could you update master and push please? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM pending minor addressing...
- `lda <https://github.com/ariddell/lda/>`_: Fast implementation of Latent | ||
Dirichlet Allocation in Cython. | ||
- `lda <https://github.com/ariddell/lda/>`_: Fast implementation of latent | ||
Dirichlet allocation in Cython using Gibbs sampling. Whereas scikit-learn's |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Whereas --> While
- `lda <https://github.com/ariddell/lda/>`_: Fast implementation of Latent | ||
Dirichlet Allocation in Cython. | ||
- `lda <https://github.com/ariddell/lda/>`_: Fast implementation of latent | ||
Dirichlet allocation in Cython using Gibbs sampling. Whereas scikit-learn's |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually could you restructure as -
- `lda <https://github.com/ariddell/lda/>`_: Fast implementation of latent
Dirichlet allocation in Cython which uses `Gibbs sampling
<https://en.wikipedia.org/wiki/Gibbs_sampling>`_ to sample from the true
posterior distribution. (scikit-learn's :class:`sklearn.decomposition.LatentDirichletAllocation` implementation uses
`variational inference <https://en.wikipedia.org/wiki/Variational_Bayesian_methods>`_ to sample from
a tractable approximation of a topic model's posterior distribution.)
Restructured as suggested. |
LGTM |
Closes #5529