cgpotts / cs224u

Code for Stanford CS224u

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DictVectorizer.get_feature_names( ... ) should be DictVectorizer.get_feature_names_out( ...)

alitair opened this issue · comments

I believe get_feature_names() is deprecated (and now removed). get_feature_names_out() is the replacement.

Thank you! I will address this in the next update, after thorough testing against this new sklearn. (It seem we should also be freezing the version number for sklearn.)

This is now reflected in the Spring 2023 materials (which, though, are substantially different from the earlier ones in many ways).