def classify(self, features):
self.votes = []
for self.i in self._classifiers:
self.j = self.i.classify(features)
self.votes.append(self.j)
return mode(self.votes)
# find the confidents of results
# must be handed:
# *featured words
评论列表
文章目录