PaPaPaPatrick / NN

0 stars 0 forks source link

softmax #8

Closed PaPaPaPatrick closed 11 months ago

PaPaPaPatrick commented 1 year ago

什么是Softmax with Loss层

简单的从字面上理解,Softmax with Loss层即Softmax加上多项式逻辑回归损失函数(multinomial logistic loss)。

Softmax的数学公式为: image

它被用来将一个任意取值的n维向量压缩成一个在(0, 1)之间取值的n维向量,并且其和为1。它常被用来计算分类问题中属于某个目标类的概率分布。

PaPaPaPatrick commented 1 year ago

softmax作用与模型应用 https://zhuanlan.zhihu.com/p/522458783 详解 Softmax Cross Entropy Loss https://blog.csdn.net/qq_39478403/article/details/116862070