当前位置:网站首页>模型训练的auc和loss比较问题
模型训练的auc和loss比较问题
2022-08-09 14:55:00 【yisun123456】
AUC 反应的是正样本在负样本前面的概率问题,AUC越大,说明正样本更靠前。
LOSS 反应的是真实值与预测值之前的差值,就是损失,LOSS越小,说明预测值越接近于真实值。在二分类问题中,LOSS越小,说明预测的样本预测值两极占比高(负样本更接近0,正样本更接近1)
例如:两个模型A B,一个auc高一些,但log也大一些。另一个auc低,但log也低。
A模型AUC高,说明它在判断哪个更好的方面,有着更好的表现,但是可能它比较“保守”,预估分都接近于正负样本的比例值(比如ctr=0.1,则预估分接近0.1)
B模型Logloss表现好,说明B模型可能比较“大胆”,对于正样本的预估更接近1,负样本预估更接近0,但是在区分谁好谁坏的相对值上,性能差于A
所以我们需要根据我们的场景来理解这俩模型,并根据具体问题作出选择
边栏推荐
- Simply record offsetof and container_of
- 浏览器指纹识别是什么意思?
- 英语议论文读写02 Engineering
- 为什么要学编译原理
- 浅谈一下量化交易与程序化交易
- 爱因斯坦的光子理论
- LNK1123: Failed during transition to COFF: invalid or corrupt file
- 防关联浏览器对亚马逊测评有多重要?
- Analysis of the common methods and scopes of the three servlet containers
- Several important functions of singly linked list (including insertion, deletion, reversal, etc.)
猜你喜欢
随机推荐
几何光学简介
鸡生蛋,蛋生鸡问题。JS顶级对象Function,Object关系
ImageWatch无法显示图像
How to create a new project with VS+Qt
CV复习:BatchNorm
How do quantitative investors obtain real-time market data?
C language operator precedence
Common compilation problems
Entity Framework Core知识小结
Example of file operations - downloading and merging streaming video files
ASP.Net Core实战——使用Swagger
ASP.Net Core实战——初识.NetCore
Analysis: Which method is used to build a stock quantitative trading database?
.Net Core后台任务启停(BackgroundService)
什么是跨境电商测评?
Inverted order at the beginning of the C language 】 【 string (type I like Beijing. Output Beijing. Like I)
自定义指令,实现默认头像和用户上传头像的切换
复数与复数域
常微分方程的幂级数解法
WebGL:BabylonJS入门——初探:注入活力









