当前位置:网站首页>[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
边栏推荐
- web三大组件之Filter、Listener
- "Xiangjian" Technology Salon | programmer & CSDN's advanced road
- mui + hbuilder + h5api模拟弹出支付样式
- 鸿蒙系统是抄袭?还是未来?3分钟听完就懂的专业讲解
- 7_Addmodule和基因加和法add 得到的细胞类型打分在空间上空转对比
- three.js文字模糊问题
- AUTOSAR from introduction to mastery 100 lectures (81) - FIM of AUTOSAR Foundation
- AUTOSAR from introduction to mastery lecture 100 (84) - Summary of UDS time parameters
- The filter() traverses the array, which is extremely friendly
- AUTOSAR from introduction to mastery 100 lectures (51) - AUTOSAR network management
猜你喜欢
Imx6ull QEMU bare metal tutorial 1: GPIO, iomux, I2C
Request和Response及其ServletContext总结
[official announcement] Changsha software talent training base was established!
UEFI learning 01-arm aarch64 compilation, armplatformpripeicore (SEC)
@Excellent you! CSDN College Club President Recruitment!
MySQL5. 5 installation tutorial
初鉴canvas,展示个小小的小案例
C语言之字符串与字符数组的区别
three. JS text ambiguity problem
Complete project data of UAV apriltag dynamic tracking landing based on openmv (LabVIEW + openmv + apriltag + punctual atom four axes)
随机推荐
Esp32 vhci architecture sets scan mode for traditional Bluetooth, so that the device can be searched
SHA512 / 384 principle and C language implementation (with source code)
STM32 tracking based on open MV
[Technical Specification]: how to write technical documents?
PyTorch 21. NN in pytorch Embedding module
C语言之字符串与字符数组的区别
[untitled] make a 0-99 counter, P1 7 connected to key, P2 connected to nixie tube section, common anode nixie tube, P3 0,P3. 1. Connect the nixie tube bit code. Each time you press the key, the nixie
CSDN College Club "famous teacher college trip" -- Hunan Normal University Station
These vscode extensions are my favorite
Metalama简介4.使用Fabric操作项目或命名空间
Uninstall MySQL database
AUTOSAR from introduction to mastery 100 lectures (50) - AUTOSAR memory management series - ECU abstraction layer and MCAL layer
Hbuilderx + uniapp packaging IPA submission app store stepping on the pit
2020最新Android大厂高频面试题解析大全(BAT TMD JD 小米)
Design of STM32 multi-channel temperature measurement wireless transmission alarm system (industrial timing temperature measurement / engine room temperature timing detection, etc.)
Mui wechat payment pit
Uniapp image import local image not displayed
AUTOSAR from introduction to mastery 100 lectures (87) - key weapon of advanced EEA - AUTOSAR and DDS
According to the salary statistics of programmers in June 2021, the average salary is 15052 yuan. Are you holding back?
「玩转Lighthouse」轻量应用服务器自建DNS解析服务器