当前位置:网站首页>Confusion matrix learning notes
Confusion matrix learning notes
2022-07-29 02:53:00 【Wsyoneself】
- Conceptual understanding :
- The confusion matrix is ROC The basis of curve drawing , It is also the most basic way to measure the accuracy of the classification model , Most intuitive , The simplest way to calculate
- Simple understanding : The confusion matrix is the error classification of the statistical classification model , The number of observations in the corresponding category is displayed in a table
- Confusion matrix is often used to judge the advantages and disadvantages of classifiers .
- extend : Common methods of judging by type models :
- Confusion matrix
- ROC curve
- AUC area
- For the first level indicators of the second classification :(positive Short for p,negative Short for n)
- TP: The real value is p, The prediction is p The number of
- FN( The second kind of statistical error ): The real value is p, The prediction is n The number of
- FP( The first kind of statistical error ): The real value is n, The prediction is p The number of
- TN: The real value is n, The prediction is n The number of
- Ingenious notes : It's all about judging the predicted value , If the prediction is correct, it will be T, If the prediction is wrong F
- When you get the matrix, you will hope TP and TN Bigger , That is, the value on the sub diagonal is greater
- Secondary indicators of the second classification :( Put forward the reason : The statistics in the confusion matrix are numbers , For a lot of data , It is impossible to measure the merits of the model according to the number )
- Accuracy rate : Calculate the proportion of all correctly judged results in the total predicted value
- accuracy : Forecast as p The correct proportion
- sensitivity : Recall rate , The true value is p Predict the correct proportion in the results
- Specificity : The real value is n The proportion of the predicted pair in the model
- The formula :

adopt 4 Two indicators , You can convert the value to 0-1 The ratio between , Facilitate standardized measurement
- Third level index :F1 score= Accuracy (precision) Reciprocal + Recall rate (recall) Reciprocal , Value range [0,1],1 The output representing the model is the best ,0 The output of representative model is the worst .
- For multi classification , It can be decomposed into multiple binary classifications ( yes or No ), Or it can be directly integrated into a large matrix
边栏推荐
- Tesla neural network model hydranet
- OSPF实验
- OWT server source code analysis (4) -- video module analysis of mixer out
- xxxxx
- C语言:小乐乐与进制转换
- [Luogu p8352] independent set of small n (DP set DP) (property)
- 每周推荐短视频:如何让产品开发更加有效?
- Youxuan software appoints Huang Zhijun as the general manager of the company
- idea配置web容器与war打包
- CatchAdmin实战教程(四)Table组件相关功能实现
猜你喜欢

Analysis of Project-based Learning Creativity in steam Education

这个博主,qt归类比较全,有空去学习总结,记录一下。

冰冰学习笔记:运算符重载---日期类的实现

架构师进阶,微服务设计与治理的 16 条常用原则

Day 5 experiment

Small program source code for campus stray cat information recording and sharing / wechat cloud development medium big cat spectrum small program source code

并发模式之生产者消费者模式

Etcd implementation of large-scale service governance application practice

Notes on the sixth day

DHCP protocol detailed analysis
随机推荐
Shell script quick start-01
Analysis of OWT server source code (III) -- video module analysis of mixer in
瀚高数据库最佳实践配置工具HG_BP日志采集内容
C语言:小乐乐与进制转换
DataGrip 如何导出和恢复整个数据库数据,使用单个 SQL 文件
FTP protocol details
QT qstringlist usage
Redis队列实现秒杀
Mongodb index (3)
Summary of classic problems in Flink production environment
并发模式之单例和不变模式
Implement encapsulated public method global call in laravel framework
Mysql复合查询(重要)
Youxuan software appoints Huang Zhijun as the general manager of the company
Plug in --- line segment sloth marking board + simple mathematical reasoning
R语言ERROR: compilation failed for package ‘****‘
Notes on the seventh day
C language: judging letters
Add a row to a specific location in the dataframe
owt-server源码剖析(四)--video模块分析之Mixer Out