Argmax
释义 Definition
argmax(常写作 arg max)指“使某个函数取得最大值的自变量(参数)”。也就是说,它返回的不是最大值本身,而是在哪个输入处达到最大值。(在机器学习中常用来表示“选择概率最高的类别”。)
发音 Pronunciation
/ˈɑːrɡmæks/
例句 Examples
We take the argmax of the scores to pick the best option.
我们对这些分数取 argmax 来选出最优选项。
In a softmax classifier, the predicted label is the argmax over class probabilities for each input.
在 softmax 分类器中,对每个输入样本,预测标签就是对各类别概率取 argmax 的结果。
词源 Etymology
argmax 来自数学表达 “argument of the maximum” 的缩写:
- argument 在这里不是“争论”,而是“函数的自变量/参数”;
- maximum 是“最大值”。
因此 argmax = 让函数达到最大值的那个参数/输入。
相关词 Related Words
文学与著作 Literary Works
- Deep Learning(Ian Goodfellow, Yoshua Bengio, Aaron Courville)——在分类与推断中常用 argmax 表示选择最大概率的类别。
- Pattern Recognition and Machine Learning(Christopher M. Bishop)——在概率模型与决策规则(如 MAP 决策)中使用 argmax。
- The Elements of Statistical Learning(Hastie, Tibshirani, Friedman)——在统计学习的优化与模型选择语境中出现 argmax/最大化表达。