Functions and operators

arg⁡max⁡θf(θ)\arg\max_{\theta} f(\theta) Argmax

The input that makes the function largest, not the largest value itself.

In ML papers

arg⁡max⁡θf(θ)\arg\max_{\theta} f(\theta) is the value of θ\theta at which ff is largest. Compare max⁡θf(θ)\max_\theta f(\theta), which is the largest value of ff. Training by maximum likelihood is θ∗=arg⁡max⁡θ∑ilog⁡pθ(xi)\theta^* = \arg\max_\theta \sum_i \log p_\theta(x_i); a classifier's prediction is the class with the highest score, y^=arg⁡max⁡kzk\hat{y} = \arg\max_k z_k.

How to type it

LaTeXShows
\arg\max_{\theta}arg⁡max⁡θ\arg\max_{\theta}
\operatorname*{arg\,max}_{\theta} limits underneatharg max⁡θ\operatorname*{arg\,max}_{\theta}

A worked example

f=(3,7,5):max⁡kfk=7,arg⁡max⁡kfk=2f = (3, 7, 5): \quad \max_k f_k = 7, \quad \arg\max_k f_k = 2

The maximum value is 7; it sits at index 2 (counting from 1).

Common confusions

Equations that use it

Related

arg⁡min⁡θL(θ)\arg\min_{\theta} \mathcal{L}(\theta)Argminmax⁡(0,x)\max(0, x)Max and minθ∗\theta^*Star (optimal)softmax⁡(z)i=ezi∑jezj\operatorname{softmax}(\mathbf{z})_i = \frac{e^{z_i}}{\sum_j e^{z_j}}Softmax

Decode this example →