【发布时间】:2013-04-22 10:08:22
【问题描述】:
我正在尝试了解 MAXent 分类器的 classifier.show_most_informative_features(10)。我不明白这些列的含义,例如在以下输出中:
train on 460 instances, test on 154 instances accuracy: 0.61038961039
pos precision: 0.432989690722
pos recall: 0.893617021277
neg precision: 0.912280701754
neg recall: 0.485981308411
-4.141 need==True and label is 'REL'
3.395 approves==True and label is 'IRREL' -
3.308 took==True and label is 'IRREL'
-1.766 treat==True and label is 'REL'
-1.488 tired==True and label is 'IRREL'
-1.295 gave==True and label is 'IRREL'
0.879 need==True and label is 'IRREL'
【问题讨论】:
-
你能分享一下代码吗?你是如何产生所有的精度和召回值的?
标签: python machine-learning nltk text-classification