python - gensim LdaMulticore is not running from Command Prompt -
i using gensim ldamulticore extract topics.it works fine jupyter/ipython notebook, when run command prompt, loop runs indefinitely. once execution arrives @ ldamulticore function, execution starts first. please me novice
if __name__ == '__main__': model = models.ldamulticore(corpus=corpus_train, id2word=dictionary, num_topics=20, chunksize=4000, passes=30, alpha=0.5, eta=0.05, decay=0.5, eval_every=10, workers=3, minimum_probability=0) **results:-** moving topics extraction script--------------------------------- 2017-08-18 18:59:36,448 : info : using serial lda version on node 2017-08-18 18:59:37,183 : info : running online lda training, 20 topics, 1 passes on supplied corpus of 400 documents, updating every 12000 documents, evaluating every ~400 documents, iterating 50x convergence threshold of 0.001000 2017-08-18 18:59:37,183 : warning : few updates, training might not converge; consider increasing number of passes or iterations improve accuracy 2017-08-18 18:59:37,183 : info : training lda model using 3 processes 2017-08-18 18:59:37,214 : info : progress: pass 0, dispatched chunk #0 = documents #400/400, outstanding queue size 1 importing required packages
Comments
Post a Comment