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

builtins.AttributeError: 'Corpus' object has no attribute 'num_docs' #2

Open
Sandy4321 opened this issue Sep 18, 2017 · 0 comments
Open

Comments

@Sandy4321
Copy link

It is great code
but may you share bugs free version please ?

main_changed.py", line 6, in main
LdaEstimator.run_EM("","result",corpus,10,"random")
File "e:\NLP\LDA\code LDA\LDA_master_Bleis LDA_2014\LDA-master\SimpleLDA\LdaEstimator.py", line 44, in run_EM
var_gamma=np.zeros((corpus.num_docs,corpus.num_docs))

builtins.AttributeError: 'Corpus' object has no attribute 'num_docs'

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

1 participant