当前位置:网站首页>Tensorflow built-in evaluation
Tensorflow built-in evaluation
2022-07-03 10:03:00 【Master Hao】
Sometimes the error function , It can also be used as an evaluation function
Commonly used built-in evaluation indicators
MeanSquaredError( Square error , For regression , I could just write it as MSE, The function form is mse)
MeanAbsoluteError ( Absolute error , For regression , I could just write it as MAE, The function form is mae)
MeanAbsolutePercentageError ( Average percentage error , For regression , I could just write it as MAPE, The function form is mape)
RootMeanSquaredError ( Root mean square error , For regression )
Accuracy ( Accuracy rate , Used for classification , You can use strings "Accuracy" Express ,Accuracy=(TP+TN)/(TP+TN+FP+FN), requirement y_true and y_pred All are category serial numbers )
Precision ( Accuracy , Used for dichotomies ,Precision = TP/(TP+FP))
Recall ( Recall rate , Used for dichotomies ,Recall = TP/(TP+FN))
TruePositives ( Real examples , Used for dichotomies )
TrueNegatives ( What a negative example , Used for dichotomies )
FalsePositives ( False positive example , Used for dichotomies )
FalseNegatives ( False negative example , Used for dichotomies )
AUC(ROC curve (TPR vs FPR) The area under , Used for dichotomies , The intuitive explanation is to randomly select a positive sample and a negative sample , The probability that the predicted value of positive samples is greater than that of negative samples )
CategoricalAccuracy( Classification accuracy , And Accuracy The meaning is the same , requirement y_true(label) by onehot Coding form )
SparseCategoricalAccuracy ( Sparse classification accuracy , And Accuracy The meaning is the same , requirement y_true(label) It is in the form of serial number )
MeanIoU (Intersection-Over-Union, Commonly used in image segmentation )
TopKCategoricalAccuracy ( Many classification TopK Accuracy rate , requirement y_true(label) by onehot Coding form )
SparseTopKCategoricalAccuracy ( Sparse multi classification TopK Accuracy rate , requirement y_true(label) It is in the form of serial number )
Mean ( Average )
Sum ( Sum up )
边栏推荐
- In third tier cities and counties, it is difficult to get 10K after graduation
- Screen display of charging pile design -- led driver ta6932
- Pymssql controls SQL for Chinese queries
- Working mode of 80C51 Serial Port
- STM32 general timer output PWM control steering gear
- uniapp 实现微信小程序全局分享及自定义分享按钮样式
- Oracle database SQL statement execution plan, statement tracking and optimization instance
- Yocto technology sharing phase IV: customize and add software package support
- 自動裝箱與拆箱了解嗎?原理是什麼?
- Serial communication based on 51 single chip microcomputer
猜你喜欢
要选择那种语言为单片机编写程序呢
You need to use MySQL in the opening experiment. How can you forget the basic select statement? Remedy is coming~
Gpiof6, 7, 8 configuration
There is no shortcut to learning and development, and there is almost no situation that you can learn faster by leading the way
嵌入式本来就很坑,相对于互联网来说那个坑多得简直是难走
Timer and counter of 51 single chip microcomputer
LeetCode - 919. 完全二叉树插入器 (数组)
干单片机这一行的时候根本没想过这么多,只想着先挣钱养活自己
QT self drawing button with bubbles
JS foundation - prototype prototype chain and macro task / micro task / event mechanism
随机推荐
MySQL 数据库基础知识(系统化一篇入门)
Vscode markdown export PDF error
Stm32f04 clock configuration
01仿B站项目业务架构
单片机职业发展:能做下去的都成牛人了,熬不动就辞职或者改行了
当你需要使用STM32某些功能,而51实现不了时, 那32自然不需要学
(1) What is a lambda expression
2312、卖木头块 | 面试官与狂徒张三的那些事(leetcode,附思维导图 + 全部解法)
4G module at command communication package interface designed by charging pile
使用密钥对的形式连接阿里云服务器
嵌入式本来就很坑,相对于互联网来说那个坑多得简直是难走
2. Elment UI date selector formatting problem
4G module designed by charging pile obtains signal strength and quality
How does the memory database give full play to the advantages of memory?
Swing transformer details-1
There is no specific definition of embedded system
Comment la base de données mémoire joue - t - elle l'avantage de la mémoire?
Notes on C language learning of migrant workers majoring in electronic information engineering
01 business structure of imitation station B project
Basic knowledge of MySQL database (an introduction to systematization)