数学符号arg含义
argument of the maximum/minimum
arg max f(x): 当f(x)取最大值时,x的取值
arg min f(x):当f(x)取最小值时,x的取值
表示使目标函数取最小值时的变量值
From Wikipedia
In mathematics, arg max (or argmax) stands for the argument of the maximum, that is to say, the set of points of the given argument for which the value of the given expression attains its maximum value:[note 1]
In other words,
is the set of values of x for which f(x) has the largest value M. For example, if f(x) is 1−|x|, then it attains its maximum value of 1 at x = 0 and only there, so .
Equivalently, if M is the maximum of f, then the arg max is the level set of the maximum:
If the maximum is reached at a single value, then one refers to the point as the arg max, meaning we define the arg max as a point, not a set of points. So, for example,
//只有一个值使函数取最大值,则arg为该值
(rather than the singleton set {5}), since the maximum value of x(10 − x) is 25, which happens when x = 5.[note 2]
However, in case the maximum is reached at many values, arg max is a set of points.
Then, we have for example
//若多个值使函数取最大值,则arg为集合
since the maximum value of cos(x) is 1, which happens on this interval when x = 0, 2π or 4π. On the whole real line, the arg max is
arg min (or argmin) is defined analogously.
Note also that functions do not in general attain a maximum value, and hence will in general not have an arg max: is undefined, as x is unbounded on the real line. However, by the extreme value theorem (or the classical compactness argument), a continuous function on a compact interval has a maximum, and thus an arg max. //若无法取到最大值,无定义
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 10年+ .NET Coder 心语,封装的思维:从隐藏、稳定开始理解其本质意义
· .NET Core 中如何实现缓存的预热?
· 从 HTTP 原因短语缺失研究 HTTP/2 和 HTTP/3 的设计差异
· AI与.NET技术实操系列:向量存储与相似性搜索在 .NET 中的实现
· 基于Microsoft.Extensions.AI核心库实现RAG应用
· 10年+ .NET Coder 心语 ── 封装的思维:从隐藏、稳定开始理解其本质意义
· 地球OL攻略 —— 某应届生求职总结
· 提示词工程——AI应用必不可少的技术
· Open-Sora 2.0 重磅开源!
· 周边上新:园子的第一款马克杯温暖上架