当前位置:网站首页>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 .
边栏推荐
- South China x99 platform chicken blood tutorial
- 单词反转实现「建议收藏」
- Hdu4876zcc love cards (multi check questions)
- Devil daddy B1 hearing the last barrier, break through with all his strength
- How to meet the dual needs of security and confidentiality of medical devices?
- [matrix multiplication] [noi 2012] [cogs963] random number generator
- 国家正规的股票交易app有哪些?使用安不安全
- Prometheus remote_ write InfluxDB,unable to parse authentication credentials,authorization failed
- MinGW MinGW-w64 TDM-GCC等工具链之间的差别与联系「建议收藏」
- Debugging and handling the problem of jamming for about 30s during SSH login
猜你喜欢

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
Lex & yacc of Pisa proxy SQL parsing

ISO 26262 - considerations other than requirements based testing

2022 how to evaluate and select low code development platforms?

你可曾迷茫?曾经的测试/开发程序员,懵懂的小菜C鸟升级......

Ubuntu安装mysql8遇到的问题以及详细安装过程

Goal: do not exclude yaml syntax. Try to get started quickly

Codesonar Webinar
Mysql子查询关键字的使用方式(exists)

Using enumeration to realize English to braille
随机推荐
Take the intersection of two sets
object-c编程tips-timer「建议收藏」
Arlo's troubles
Details of C language integer and floating-point data storage in memory (including details of original code, inverse code, complement, size end storage, etc.)
Use camunda to do workflow design and reject operations
Description of the difference between character varying and character in PostgreSQL database
FatMouse' Trade (Hangdian 1009)
Demon daddy A3 stage near normal speed speech flow initial contact
gridView自己定义做时间排版「建议收藏」
Nine degree 1201 - traversal of binary sort number - binary sort tree "suggestions collection"
FatMouse' Trade(杭电1009)
2022 how to evaluate and select low code development platforms?
Mysql子查询关键字的使用方式(exists)
Magic weapon - sensitive file discovery tool
Datatable data conversion to entity
uva 12230 – Crossing Rivers(概率)「建议收藏」
解决uni-app中uni.request发送POST请求没有反应。
UVA 11080 – place the guards
Do you have to make money in the account to open an account? Is the fund safe?
Demon daddy A1 speech listening initial challenge