神经网络中的logits是什么意思

logits在神经网络中是未经归一化的预测得分向量,通常作为多分类问题中softmax函数的输入。softmax函数将logits转换为概率分布,每个类别的概率值对应一个可能的类别。此外,logits也常被认为是sigmoid函数的逆运算。了解更多关于logits和tf.nn.sigmoid_cross_entropy_with_logits的信息。
摘要由CSDN通过智能技术生成

logit 在统计学上是一个数学函数,但是在神经网络中却有着不同的含义。

说白了,logits 就是一个向量,下一步通常被投给 softmax 的向量。

就是下图这个箭头所指的位置:

在这里插入图片描述
logits 参考这里
The vector of raw (non-normalized) predictions that a classification model generates, which is ordinarily then passed to a normalization function. If the model is solving a multi-class classification problem, logits typically become an input to the softmax function. The softmax function then generates a vector of (normalized) probabilities with one value for each possible class.

In addition, logits sometimes refer to the element-wise inverse of the sigmoid function. For more information, see tf.nn.sigmoid_cross_entropy_with_logits.

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值