Skip to content
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

Deprecation Warning while performing topic modelling #2295

Closed
haskarb opened this issue Dec 14, 2018 · 2 comments
Closed

Deprecation Warning while performing topic modelling #2295

haskarb opened this issue Dec 14, 2018 · 2 comments

Comments

@haskarb
Copy link

haskarb commented Dec 14, 2018

I trying to use LDA model in gensim. I am getting mentioned, I recently installed the gensim package.

/.local/lib/python3.5/site-packages/gensim/models/ldamodel.py:1077: DeprecationWarning: Calling np.sum(generator) is deprecated, and in the future will give a different result. Use np.sum(np.from_iter(generator)) or the python sum builtin instead.
  score += np.sum(cnt * logsumexp(Elogthetad + Elogbeta[:, int(id)]) for id, cnt in doc)
@haskarb
Copy link
Author

haskarb commented Dec 14, 2018

It is already mentioned as a bug in issues. Therefore closing it.

@haskarb haskarb closed this as completed Dec 14, 2018
@menshikh-iv
Copy link
Contributor

related to #2270

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants