Open Agent School · Public worked example
Softmax: meaning and example
Welcome! Take one idea with you today.
Softmax transforms a list of real scores into positive shares that sum to 1. Raising one score relative to the others increases its share and reduces the total share available to the other options.
Picture it: A toy router gives billing, delivery, and returns equal scores. Softmax assigns each 1/3. If billing receives a larger score while the others stay fixed, billing gets more than 1/3 and the other two get less.
What is easy to mix up?
Softmax guarantees normalized shares, not calibrated confidence. A wrong model can assign almost all its mass to a wrong answer.
Teaching example by Open Agent School. Source: scikit-learn: Model Evaluation.