Ensemble LDA import error.

74 views
Skip to first unread message

Olaide Ileyemi

unread,
Jul 15, 2022, 10:59:11 AM7/15/22
to Gensim
Hi everyone,

The ensemble LDA model cannot be imported into my Google Colab or Jupyter notebook for my topic modelling project. On Conda, I've installed the 4.2 version of gensim and have been able to successfully train LDA and HDP models, but the ensemble would not just import.

The error message is as captured below.
from gensim.models import EnsembleLDA
--------------------------------------------------------------------------- ImportError Traceback (most recent call last) <ipython-input-12-6231d2ff8f2e> in <module> ----> 1 from gensim.models import EnsembleLDA ImportError: cannot import name 'EnsembleLDA' from 'gensim.models' (C:\CondaEnvs\AddedPackages\lib\site-packages\gensim\models\__init__.py)  

Any idea what i should do?

Olaide.

Reply all
Reply to author
Forward
0 new messages