twenty_news_group.py 文件源码

python
阅读 26 收藏 0 点赞 0 评论 0

项目:DataScience-And-MachineLearning-Handbook-For-Coders 作者: wxyyxc1992 项目源码 文件源码
def train_classifier(self):
        """
        ???????????
        """

        self.extract_feature();

        self.clf = MultinomialNB().fit(
            self.train_tfidf, self.data['train'].target)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号