Recall(召回率)、Precision(准确率)、F1-Meature(综合评价指标)

使用四格图来解释:

  正确的、相关的(wanted) 不正确的、不相关的
检测出来的
true  positives (tp)
false  positives(fp)
未检测出来的
false  negatives(fn)
true  negatives  (tn)
 
 
1) Precision =   tp/(tp + fp)
 
2) Recall = tp / (tp + fn)
 
3) F-Measure是Precision和Recall加权调和平均:
  F = (a+ 1) * P * R / [a2 * (P + R)]

  当参数a=1时,就是最常见的F1了:

  F1 = 2 * P * R / (P + R)

  F1综合了P和R的结果,当F1较高时则比较说明实验方法比较理想。

posted @ 2019-08-15 14:07  再见青风藤  阅读(305)  评论(0)    收藏  举报