Small Bug in C3_W2_Lab_2_Algorithmic_Dimensionality.ipynb

Hello Learners,

While running the Lab_2 code, I got AttributeError: ‘TfidfVectorizer’ object has no attribute ‘get_feature_names’.

#Solution:
Instead use:

vectorizer.get_feature_names_out()

Happy coursera learning!

2 Likes

hi @abdirayimovs

Welcome to the community.

Thanks for contributing.

best regards
elirod