Gradient

Courses

∇\nabla∇The maths behind AI0/72
π\piπMaths0/84
⋆\star⋆AI for everyone0/10
Γ\GammaΓGame theory0/49
py\texttt{py}pyPython for AI0/15
y^\hat{y}y^​Build your own AI0/15
All courses

Tuition

My tuitionOlympiad trackCompetitions

Practice

ProjectsAsk a questionTrain on a GPUExplorationsMaths StoriesUnsolved problemsPlaygroundScience labsMock testsOlympiad

Reference

GlossaryBlogDiscoveries
Glossary › Logit

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.
Open the lesson

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.

Related terms

  • Bayes' rule
  • Cross-entropy
  • Entropy
  • Perplexity
  • Softmax
  • Temperature