NLP - Topic Modeling
You run the following code and get an error:
The error says:
What is the fix?
ldamodel = gensim.models.LdaModel(corpus, num_topics=3, id2word=dictionary, passes=5) print(ldamodel.print_topics())
The error says:
TypeError: print_topics() missing 1 required positional argument: 'num_topics'What is the fix?
