What is softmax?
The function that turns a list of scores into probabilities that sum to 1: .
Where it is taught
Softmax and temperature. A network outputs raw scores of any size and sign. Softmax converts them into a proper probability distribution, and temperature controls how bold it is.
What the lesson leaves you with
- Logits are raw scores. Softmax turns them into probabilities that sum to 1.
- Softmax depends only on differences between logits and keeps their order.
- Temperature divides the logits first: low is sharp and predictable, high is flat and varied.
Questions
- What is softmax?
- The function that turns a list of scores into probabilities that sum to 1: p_i = e^{z_i} / sum_j e^{z_j}.
- Where is softmax used in AI?
- A network outputs raw scores of any size and sign. Softmax converts them into a proper probability distribution, and temperature controls how bold it is.
- What is the key idea to remember about softmax?
- Logits are raw scores. Softmax turns them into probabilities that sum to 1.
- Where can I learn softmax step by step?
- In the lesson “Softmax and temperature” in Gradient’s course on the maths behind AI, with interactive diagrams and questions.