Isn't the aim of softmax function normalizing the probabilities such that they all sum to 1? So when we apply this method to the already normalized numbers, it would change them. what do these new outcomes depict? Since they are changed, are they reliable?

from scipy import special


 array([0.450166, 0.549834])

1 Answer 1


Summing to 1 is just one property of the softmax function.

The softmax function takes the exponential of each value and divides it by the sum of the exponentials of all values. This tends to cluster values towards the mean, as you've seen in your example.

While the outputs of a softmax look and smell like probabilities, their values don't actually correspond to the likelihood of sampling from that distribution. They're better off thought of as the confidence of your prediction.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.