AttributeError: 'CountVectorizer' object has no attribute 'get_feature_names'. Did you mean: 'get_feature_names_out'?
时间: 2023-12-06 19:03:06 浏览: 169
CountVectorizer参数学习
This error message suggests that you are trying to call the `get_feature_names()` method on a `CountVectorizer` object, but this method does not exist. Instead, it suggests using the method `get_feature_names_out()`.
You may need to check the documentation or the version of the library you are using to confirm if the method name has changed.
阅读全文