We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
pyLDAvis.sklearn.prepare error
The text was updated successfully, but these errors were encountered:
changed this two lines in lda_model.py. Seems working
## https://numpy.org/doc/stable/reference/generated/numpy.matrix.getA1.html def _get_doc_lengths(dtm): # return dtm.sum(axis=1).getA1() return dtm.sum(axis=1).ravel() def _get_term_freqs(dtm): #return dtm.sum(axis=0).getA1() return dtm.sum(axis=0).ravel()
Sorry, something went wrong.
No branches or pull requests
pyLDAvis.sklearn.prepare error
The text was updated successfully, but these errors were encountered: