Argmax
The input that makes the function largest, not the largest value itself.
In ML papers
is the value of at which is largest. Compare , which is the largest value of . Training by maximum likelihood is ; a classifier's prediction is the class with the highest score, .
How to type it
| LaTeX | Shows |
|---|---|
\arg\max_{\theta} | |
\operatorname*{arg\,max}_{\theta} limits underneath |
A worked example
The maximum value is 7; it sits at index 2 (counting from 1).
Common confusions
- It is not differentiable, which is why training uses softmax (Softmax), a smooth stand-in.
- If several inputs tie, argmax is a set; papers usually ignore this.