当前位置:网站首页>[indicators] precision, recall
[indicators] precision, recall
2022-04-23 13:18:00 【^_^ Min Fei】
List of articles
1. Binary classification index
TP: Forecast as Real sample in Indeed Really quantity
FP: Forecast as Real sample in Indeed Number of fake
FN: Forecast as Fake samples in Indeed Really quantity
TN: Forecast as Fake samples in Indeed Number of fake
Accuracy rate Accuracy:
just indeed pre measuring Of sample Ben = just indeed pre measuring by 1 + just indeed pre measuring by 0 Of total sample Ben Count \frac{ Correctly predicted samples = The correct prediction is 1+ The correct prediction is 0 Of }{ The total number of samples } total sample Ben Count just indeed pre measuring Of sample Ben = just indeed pre measuring by 1+ just indeed pre measuring by 0 Of = T P + T N A L L \frac{TP + TN}{ALL} ALLTP+TN
Precision rate Precision:
the Yes pre measuring by really Of sample Ben in really Of Count The amount pre measuring by really sample Ben Of Count The amount \frac{ The number of true samples in which all predictions are true }{ The number of samples predicted to be true } pre measuring by really sample Ben Of Count The amount the Yes pre measuring by really Of sample Ben in really Of Count The amount = T P T P + F P \frac{TP}{TP + FP} TP+FPTP
Recall rate Recall:
the Yes pre measuring by really Of sample Ben in really Of Count The amount the Yes really sample Ben Count The amount \frac{ The number of true samples in which all predictions are true }{ Number of all true samples } the Yes really sample Ben Count The amount the Yes pre measuring by really Of sample Ben in really Of Count The amount = T P T P + F N \frac{TP}{TP + FN} TP+FNTP
give an example : Predict the number of diseases .
Suppose there are 100 Samples , among 20 A sick man . Through prediction, it is found that 24 A sick man , Among them is 18 One is really sick .
In this case :
TP = 18
FP = 24-18=6
FN= 20-18 =2
TN= (100-24)-2 = 74
Accuracy rate = 18 + 74 100 = 0.82 \frac{18+74}{100}=0.82 10018+74=0.82
Precision rate = 18 18 + 6 \frac{18}{18+6} 18+618
Recall rate = 18 18 + 2 \frac{18}{18+2} 18+218
2. Reference resources
版权声明
本文为[^_^ Min Fei]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230611136755.html
边栏推荐
- X509 parsing
- Analysis of the latest Android high frequency interview questions in 2020 (BAT TMD JD Xiaomi)
- 100 GIS practical application cases (34) - splicing 2020globeland30
- 鸿蒙系统是抄袭?还是未来?3分钟听完就懂的专业讲解
- AUTOSAR from introduction to mastery 100 lectures (86) - 2F of UDS service foundation
- 100 GIS practical application cases (52) - how to keep the number of rows and columns consistent and aligned when cutting grids with grids in ArcGIS?
- The first lesson is canvas, showing a small case
- nodeJs + websocket 循环小案例
- 十万大学生都已成为猿粉,你还在等什么?
- nodejs + mysql 实现简单注册功能(小demo)
猜你喜欢
JMeter operation redis
2021年6月程序员工资统计,平均15052元,你拖后腿了吗?
Solve the problem that Oracle needs to set IP every time in the virtual machine
Imx6ull QEMU bare metal tutorial 2: usdhc SD card
Lpddr4 notes
Data warehouse - what is OLAP
Hbuilderx + uniapp packaging IPA submission app store stepping on the pit
Example interview | sun Guanghao: College Club grows and starts a business with me
The filter() traverses the array, which is extremely friendly
SHA512 / 384 principle and C language implementation (with source code)
随机推荐
100 GIS practical application cases (51) - a method for calculating the hourly spatial average of NC files according to the specified range in ArcGIS
"Play with Lighthouse" lightweight application server self built DNS resolution server
5道刁钻的Activity生命周期面试题,学完去吊打面试官!
Ffmpeg common commands
MySQL 8.0.11 download, install and connect tutorials using visualization tools
51 single chip microcomputer stepping motor control system based on LabVIEW upper computer (upper computer code + lower computer source code + ad schematic + 51 complete development environment)
7_Addmodule和基因加和法add 得到的细胞类型打分在空间上空转对比
鸿蒙系统是抄袭?还是未来?3分钟听完就懂的专业讲解
mui 关闭其他页面,只保留首页面
4.22 study record (you only did water problems in one day, didn't you)
缘结西安 | CSDN与西安思源学院签约,全面开启IT人才培养新篇章
AUTOSAR from introduction to mastery 100 lectures (50) - AUTOSAR memory management series - ECU abstraction layer and MCAL layer
在 pytorch 中加载和使用图像分类数据集 Fashion-MNIST
初鉴canvas,展示个小小的小案例
CSDN高校俱乐部“名师高校行”——湖南师范大学站
普通大学生如何拿到大厂offer?敖丙教你一招致胜!
100 GIS practical application cases (34) - splicing 2020globeland30
Async void provoque l'écrasement du programme
[walking notes]
AUTOSAR from introduction to mastery 100 lectures (86) - 2F of UDS service foundation