LDAP with python

Asked 2 years ago, Updated 2 years ago, 142 views

If you execute the following code, an error will be displayed.

error message

*/usr/local/lib/python 3.6/dist-packages/smart_open/smart_open_lib.py:402: UserWarning: This function is predicted, use smart_open.open installed.See the migration notes for details:https://github.com/RaRe-Technologies/smart_open/blob/master/README.rst#migrating-to-the-new-open-function
  'See the migration notes for details: %s'% 

Code executed

 from gensim import models

lda_model=models.ldammodel.LdaModel(corpus=corpus, id2word=dictionary, num_topics=10, alpha='symmetric', random_state=0)

lda_model.save('lda.model')

python natural-language-processing

2022-09-30 21:47

1 Answers

I ran it in a web environment, not locally, and it worked fine.Thank you.


2022-09-30 21:47

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.