Python-Text-Analysis-Fundamentals
Python-Text-Analysis-Fundamentals copied to clipboard
replace n_topics with n_components in LatentDirichletAllocation in newer versions of sklearn?
Replace
lda = LatentDirichletAllocation(n_topics=10, max_iter=20, random_state=0)
with
lda = LatentDirichletAllocation(n_components=10, max_iter=20, random_state=0)
in 02-unsupervised.ipynb and 02-unupervised-solutions.ipynb
for newer versions of sklearn?