What is logit?
A raw score produced by the last layer of a network, before softmax turns the scores into probabilities.
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 logit?
- A raw score produced by the last layer of a network, before softmax turns the scores into probabilities.
- Where is logit 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 logit?
- Logits are raw scores. Softmax turns them into probabilities that sum to 1.
- Where can I learn logit step by step?
- In the lesson “Softmax and temperature” in Gradient’s course on the maths behind AI, with interactive diagrams and questions.