当前位置:网站首页>An in-depth understanding of fp/fn/precision/recall
An in-depth understanding of fp/fn/precision/recall
2022-07-07 21:38:00 【Beauty of algorithm and programming】
Because the picture is large , It is recommended to right-click to open a new window for easy reading !
(1) TP and TN It's easy to understand , However FP and FN Easy to confuse ;
- FP(False Positive) Indicates the positive example of error, that is, the negative example in the sample is incorrectly recognized as a positive example , Like the picture on the right 3、4 The line is shown by a red square ;
- FN(False Negative) Negative examples that indicate errors, that is, the positive examples in the sample are incorrectly recognized as negative examples , Like the picture on the right 1、2 Line red triangle ;
(2) About the evaluation index ,Accuracy It's easy to understand , However Precision and Recall It's especially confusing ;
- Precision It aims at the proportion after detection , After model checking ( Right picture ), All positive examples detected include correct positive examples and wrong positive examples , Compared with the original sample , Whether it is the correct positive example or the wrong positive example , The test results are positive , Therefore, the test results are , The total number of positive examples is (TP+FP), So in these positive examples , How many are the correct positive examples ? The answer is TP/(TP+FP);FP The smaller it is , be Precision The bigger it is , and FP That is, the number of false positives ; therefore ,Precision It reflects the positive and false positives in the sample .
- Recall It aims at the proportion before detection , In the original sample ( On the left ), How many positive examples are really detected by the model ?TP That is, the number of positive cases detected , How many positive examples are there in the original sample ? The answer is the number of positive cases detected plus the number of positive cases not detected ; The number of positive cases that have not been detected is the number of positive cases that were originally detected as negative cases by the model , Like the picture on the right 1、2 The red triangle of the line shows , It is a negative example of error (FP); so Recall=TP/(TP+FN);FN The smaller it is , be Recall The bigger it is , and FN That is, the number of positive cases of missed detection ; therefore Recall It reflects the omission of positive cases in the sample .
边栏推荐
- Addition, deletion, modification and query of sqlhelper
- Devil daddy A0 English zero foundation self-improvement Road
- A brief understanding of the in arc__ bridge、__ bridge_ Retained and__ bridge_ transfer
- 特征生成
- AADL inspector fault tree safety analysis module
- Codesonar Webinar
- 国家正规的股票交易app有哪些?使用安不安全
- Contour layout of margin
- Focusing on safety in 1995, Volvo will focus on safety in the field of intelligent driving and electrification in the future
- Unity3d 4.3.4f1执行项目
猜你喜欢
Restapi version control strategy [eolink translation]
Solve the problem of using uni app mediaerror mediaerror errorcode -5
Open source OA development platform: contract management user manual
Codesonar Webinar
Lex & yacc of Pisa proxy SQL parsing
NVR硬盤錄像機通過國標GB28181協議接入EasyCVR,設備通道信息不顯示是什麼原因?
The maximum number of meetings you can attend [greedy + priority queue]
Focusing on safety in 1995, Volvo will focus on safety in the field of intelligent driving and electrification in the future
Redis - basic use (key, string, list, set, Zset, hash, geo, bitmap, hyperloglog, transaction)
[C language] advanced pointer --- do you really understand pointer?
随机推荐
Numerical method for solving optimal control problem (0) -- Definition
DataTable数据转换为实体
Reinforcement learning - learning notes 8 | Q-learning
How to meet the dual needs of security and confidentiality of medical devices?
刚开户的能买什么股票呢?炒股账户安全吗
开户还得用身份证银行卡安全吗,我是小白不懂
Object-C programming tips timer "suggestions collection"
死锁的产生条件和预防处理[通俗易懂]
2022 how to evaluate and select low code development platforms?
Goal: do not exclude yaml syntax. Try to get started quickly
An overview of the latest research progress of "efficient deep segmentation of labels" at Shanghai Jiaotong University, which comprehensively expounds the deep segmentation methods of unsupervised, ro
Static test tool
华泰证券可以做到万一佣金吗,万一开户安全嘛
Usage of MySQL subquery keywords (exists)
Use camunda to do workflow design and reject operations
GridView defines its own time for typesetting "suggestions collection"
Jenkins user rights management
npm uninstall和rm直接删除的区别
现在网上开户安全么?想知道我现在在南宁,到哪里开户比较好?
Default constraint and zero fill constraint of MySQL constraint