I am trying to find top 100/1000 words based on tfidfVectorizer output of Python's scikit-learn library. Is there a way to do it using a function from the scikit libraries?
Thanks for help
I am trying to find top 100/1000 words based on tfidfVectorizer output of Python's scikit-learn library. Is there a way to do it using a function from the scikit libraries?
Thanks for help
前 100/1000 个单词是什么意思?数据集中出现频率最高的词?您可以使用 Python 标准库的Counter类来执行此操作。不需要 scikit-learn。