Submitted by Santhosh999 t3_z9dryt in deeplearning
I trained a neural network for credit card fraud detection. When the last layer has 1 neuron and sigmoid activation function, the accuracy is 99% whereas when softmax is used, accuracy is 0.17%.
I know that sigmoid needs to be used for binary classification problem. Can someone explain why to use sigmoid rather than softmax?
Thank you for your time.
Blueberry-Tacos t1_iygvvgh wrote
Softmax activation function is usually used for multi categorical classification. Knowing that you are building a binary classification model, sigmoid is better for your application :)
EDIT : I've made a mistake. It is not used for multi categorical classification but to be able to classify multiple 'categories' from one input.