Sigmoid for multi-class classification?
See original GitHub issue@qubvel I saw on the readme you mentioned using a sigmoid activation function for a multi-class classification problem:
# multiclass segmentation with independent overlapping/non-overlapping class masks
model = sm.Unet('resnet34', classes=3, activation='sigmoid')
What’s the intuition for this and do you have any resources you can point me to? I’ve never thought to do this but for some reason with my dataset it actually does slightly better?
thanks
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:5 (1 by maintainers)
Top Results From Across the Web
How does Sigmoid activation work in multi-class classification ...
If your task is a kind of classification that the labels are mutually exclusive, each input just has one label, you have to...
Read more >Multi-label vs. Multi-class Classification: Sigmoid vs. Softmax
When you have multiple reasonable classifier outputs, use a “moid” (sigmoid – the two “moids”/”maids” on the left of the picture). When you...
Read more >Can I use a sigmoid function with multiclass classification?
Yes you can, but i recommend that you use sigmoid when your data can belong to more then 1 class at a time....
Read more >Sigmoid activation for multi-class classification? - Stack Overflow
Sigmoids are activation functions of the form 1/(1+exp(-z)) where z is the scalar multiplication of the previous hidden layer (or inputs) and a ......
Read more >Sigmoid and SoftMax Functions in 5 minutes
Sigmoid is used for binary classification methods where we only have 2 classes, while SoftMax applies to multiclass problems. In fact, the SoftMax...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
thanks,it’s very clear
Ah, sorry, this is an instance for multi-label scenarios? That makes sense as to why this works slightly better with my dataset. Thanks!