Python-Text-Analysis-Fundamentals icon indicating copy to clipboard operation
Python-Text-Analysis-Fundamentals copied to clipboard

replace n_topics with n_components in LatentDirichletAllocation in newer versions of sklearn?

Open EastBayEv opened this issue 4 years ago • 0 comments

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?

EastBayEv avatar Mar 19 '21 17:03 EastBayEv