HIPS / pgmult

Dependent multinomials made easy: stick-breaking with the Pólya-gamma augmentation
MIT License
59 stars 22 forks source link

import issues #10

Closed YunheFeng closed 7 years ago

YunheFeng commented 7 years ago

Thanks for the pgmult! When I try to run the ctm.py, an import error occurs. I am not sure how to fix it. The lasted version of pylds has been installed through 'pip install git+https://github.com/mattjj/pylds.git'.

File "/home/jack/project/ctm.py", line 26, in from pgmult.lda import StandardLDA, StickbreakingCorrelatedLDA, LogisticNormalCorrelatedLDA

File "/home/jack/anaconda2/lib/python2.7/site-packages/pgmult/lda.py", line 18, in from pylds.lds_messages_interface import filter_and_sample_randomwalk

ImportError: cannot import name filter_and_sample_randomwalk