bmabey/pyLDAvis

'TfidfVectorizer' object has no attribute 'get_feature_names'

fengqiaogit opened this issue · 1 comments

error located in pyLDAvis\sklearn.py:20, in _get_vocab(vectorizer)

19 def _get_vocab(vectorizer):
20     return vectorizer.get_feature_names()

scikit-learn has rename function get_feature_names() to get_feature_names_out()