dlab-berkeley / Python-Text-Analysis-Legacy-2023

D-Lab's 12 hour introduction to text analysis with Python. Learn how to perform bag-of-words, sentiment analysis, topic modeling, word embeddings, and more, using scikit-learn, NLTK, Gensim, and spaCy in Python.
Creative Commons Attribution 4.0 International
22 stars 9 forks source link

Deprecated argument in NMF #39

Open econbernardo opened 1 year ago

econbernardo commented 1 year ago

In lesson 4, the alpha argument of the NMF function from sklearn.decomposition is deprecated. There are now two distinct arguments for the regularization of the $W$ and $H$ matrices.