神经网络常用**函数对比:sigmoid VS sofmax
for multi-labels classifications, we should not use softmax function as the last layer but the sigmoid function.
图像
该图显示了softmax函数的基本属性,值越大,其概率越高。
Sigmoid函数与Softmax函数之间的差异
以下是Sigmoid和Softmax函数之间的差异表格:
结论
在本文中,详细了解确定逻辑回归模型的两个函数。
- Softmax:用于多分类任务。
- Sigmoid:用于二进制分类任务。