softmax loss 与cross-entropy loss的区别

Technically no because "softmax loss" isn't really a correct term, and "cross-entropy loss" is. So cross-entropy loss is really the correct term to use when describing the function: 

The softmax classifier is a linear classifier that uses the cross-entropy loss function. In other words, the gradient of the above function tells a softmax classifier how exactly to update its weights using something like gradient descent.

So in short, they aren't the same. However, people use the term "softmax loss" when referring to "cross-entropy loss" and because you know what they mean, there's no reason to annoyingly correct them. Because they are used interchangeably, the two terms are effectively the same

softmax loss函数是指针对softmax分类器的损失函数,是一种泛指;可以使用mse也可以是cross-entropy loss函数或其他种类;交叉熵损失函数只统计正确的部分;而mse是统计错误的部分;

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值