Hat (estimate)
A hat marks an estimate or prediction: ŷ is the model’s guess for y.
In ML papers
A hat marks an estimate of the thing underneath: is the predicted label, the estimated parameters, a sample average. Adam's is the bias-corrected moment estimate. In normalization, is the normalized input before the learned scale and shift.
Other meanings, by context
- Geometry. A unit vector, .
- Signal processing. A Fourier transform, .
How to type it
| LaTeX | Shows |
|---|---|
\hat{y} | |
\widehat{xy} wide, over several letters |
A worked example
Adam's first moment after one step with gradient 1: the raw average is corrected to .
Equations that use it
- Cross-entropy loss
- Adam update
- Batch normalization
- PPO clipped objective
- AdamW
- Normal equation (linear regression)