def train_classifier(self): """ ??????????? """ self.extract_feature(); self.clf = MultinomialNB().fit( self.train_tfidf, self.data['train'].target)