当前位置:网站首页>模型训练的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
所以我们需要根据我们的场景来理解这俩模型,并根据具体问题作出选择
边栏推荐
猜你喜欢
随机推荐
九、【Vue-Router】缓存路由组件 keep-alive标签
How to flexibly use the advantages of the quantitative trading interface to complement each other?
写在光学之前--振动和波
Grad CAM model visualization
Different compilers, different modes, impact on results
Use tensorboard remotely on the server
ASP.Net Core实战——初识.NetCore
复数与复数域
一些需要思考的物理问题
LNK1123:转换到COFF期间失败:文件无效或损坏
How do quantitative investors obtain real-time market data?
How do users correctly understand programmatic trading?
What is a template engine?What are the common template engines?Introduction to common commands of thymeleaf.
解决跨域问题的三种方式
【小白必看】初始C语言(下)
利用qrcode组件实现图片转二维码
CV复习:BatchNorm
C#轻量级ORM使用 Dapper+Contrib
什么是跨境电商测评?
Analysis of the common methods and scopes of the three servlet containers
![[MySql] implement multi-table query - one-to-one, one-to-many](/img/7e/8f1af4422a394969b28a553ead2c42.png)








