3

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

4

1 回答 1

0

前 100/1000 个单词是什么意思?数据集中出现频率最高的词?您可以使用 Python 标准库的Counter类来执行此操作。不需要 scikit-learn。

于 2013-10-26T13:23:50.840 回答