当前位置:网站首页>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 .
边栏推荐
- Tupu digital twin coal mining system to create "hard power" of coal mining
- Lex & yacc of Pisa proxy SQL parsing
- Which financial products will yield high returns in 2022?
- FatMouse' Trade(杭电1009)
- Dry goods sharing | devaxpress v22.1 original help document download collection
- What stocks can a new account holder buy? Is the stock trading account safe
- HOJ 2245 浮游三角胞(数学啊 )
- The new version of onespin 360 DV has been released, refreshing the experience of FPGA formal verification function
- [matrix multiplication] [noi 2012] [cogs963] random number generator
- The maximum number of meetings you can attend [greedy + priority queue]
猜你喜欢
Automatic classification of defective photovoltaic module cells in electronic images
[200 opencv routines] 223 Polygon fitting for feature extraction (cv.approxpolydp)
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
你可曾迷茫?曾经的测试/开发程序员,懵懂的小菜C鸟升级......
Ubuntu安装mysql8遇到的问题以及详细安装过程
Codesonar Webinar
cv2.resize函数报错:error: (-215:Assertion failed) func != 0 in function ‘cv::hal::resize‘
Dry goods sharing | devaxpress v22.1 original help document download collection
95年专注安全这一件事 沃尔沃未来聚焦智能驾驶与电气化领域安全
ISO 26262 - considerations other than requirements based testing
随机推荐
Postgresql数据库character varying和character的区别说明
Object-C programming tips timer "suggestions collection"
Usage of MySQL subquery keywords (exists)
FatMouse' Trade (Hangdian 1009)
恶魔奶爸 A3阶段 近常速语流初接触
Is private equity legal in China? Is it safe?
The maximum number of meetings you can attend [greedy + priority queue]
Insufficient permissions
Develop those things: go plus c.free to free memory, and what are the reasons for compilation errors?
Ant destination multiple selection
uva 12230 – Crossing Rivers(概率)「建议收藏」
部署、收回和删除解决方式—-STSADM和PowerShell「建议收藏」
[matrix multiplication] [noi 2012] [cogs963] random number generator
Solve the problem of using uni app mediaerror mediaerror errorcode -5
Codeforces round 296 (Div. 2) A. playing with paper[easy to understand]
Code of "digital image processing principle and Practice (matlab version)" part2[easy to understand]
Do you have to make money in the account to open an account? Is the fund safe?
Deployment, recall and deletion solutions - stsadm and PowerShell "suggestions collection"
Tupu digital twin coal mining system to create "hard power" of coal mining
HDU4876ZCC loves cards(多校题)