In pattern recognition and information retrievial with binary classification , there are some measures ,such as recall , precision。

In classification task, the precision for a class is the number of true positive divided by the total number of  elements labeled as belonging to the positive class(i.e. the sum of true positives and false positives ,which are items incorrectly labeled as belonging to the class.)  And the recall, in this context, is defined as the number of true positives divided by the total numble of elements that actually belonging to the positive class(i.e. the sum of true positive and false negative .

Definition(In classification context)

for classification tasks, the terms true positve ,false positive ,true negative , false negative ,compare the results of the classifier under test with trusted external judgment.

The terms positive and negative refer to the classifier's prediction(sometimes known as the expection),and the terms true and false refer to whether that prediction corresponds to the external jugement(sometimes known as te observation)。

Let us define an experiment from P positive instances and N negative instances for some condition. The four outcomes can be formulated in a 2×2 contingency table or confusion matrix, as follows:

Precision and recall are then defined as:

precision = tp/(tp+fp)

recall = tp/(tp+fn)

Recall in this context is alse referred to as the true positive rate or sensitivity, and precision is alse referred to positive predictive vaule(PPV), some other related measures used in classification include true negative rate and accuracy. True negatvie rate is alse called specificty.

 

reference:

1、wikipedia : Precision and recall

2、Fawcett, Tom (2006). "An Introduction to ROC Analysis". Pattern Recognition Letters27 (8): 861 – 874. doi:10.1016/j.patrec.2005.10.010.

最新文章

  1. UI控件(UITextView)
  2. HTML相关
  3. 关于js内部运行机制的一本好书
  4. python中单元测试/数据库预处理的技巧
  5. React 源码解读参考,理解原理。
  6. ajax请求原理及jquery $.ajax封装全解析
  7. HDU-5781 ATM Mechine(概率DP)
  8. Maven基本操作命令
  9. centos 6.5 32位 编译安装Mysql
  10. 关于ibatis进行物理游标分页
  11. 13个小技巧帮你征服Xcode
  12. Android--------使用gson解析json文件
  13. topas top vmstat
  14. C# 计划任务
  15. IKAnalyzer使用停用词词典进行分词
  16. Mockito教程
  17. 【Android】再来一篇Fragment懒加载(只加载一次哦)
  18. NEO从入门到开窗(2) - 智能合约的面相
  19. day10 while else continue break
  20. Nginx实践篇(2)- Nginx作为静态资源web服务 - 控制浏览器缓存、防盗链

热门文章

  1. 数据库中间件分片算法之enum
  2. 深入浅出 JVM 系列(一)什么是 JVM?它处于什么位置?
  3. AcWing 247. 亚特兰蒂斯 | 扫描线
  4. Fabric1.4:运行 first-network 网络
  5. linux下解压缩文件中文乱码问题的解决
  6. 【Tool】---SVN的超级简单并具体得使用介绍
  7. 初识 ST 表
  8. .net core 2.2 中IHttpClientFactory的使用
  9. 轻松弄懂var、let、const之间的区别
  10. Centos7.6部署k8s v1.16.4高可用集群(主备模式)