3

我正在使用 TextBlob 的 NaiveBayesClassifier 函数对一些短语进行分类,目前它工作正常。

我的问题是,我需要解释该函数如何与表测试一起使用。TextBlob 的 NaiveBayesClassifier 如何对一个短语进行分类以及如何获得“prob_classify(text)”函数生成的概率数?

我使用http://textblob.readthedocs.org/en/latest/classifiers.html来了解这个功能。

4

0 回答 0