贝叶斯优化(BayesianOptimization) | 您所在的位置:网站首页 › 预期效用函数例子有哪些 › 贝叶斯优化(BayesianOptimization) |
文章目录
贝叶斯优化
贝叶斯优化器的介绍
采集函数(Acquisition Function,AC)
UCB(Upper confidence bound)
PI(probability of improvement)
EI(Expected improvement)
算法流程
贝叶斯优化的一个模拟实验
探索(exploration)与利用(exploitation)
贝叶斯优化过程
贝叶斯优化的应用
贝叶斯优化
这篇blog参考github上一个基于高斯过程回归的贝叶斯优化开源项目(python):https://github.com/fmfn/BayesianOptimization 贝叶斯优化器的介绍贝叶斯优化在不知道目标函数(黑箱函数)长什么样子的情况下,通过猜测黑箱函数长什么样,来求一个可接受的最大值。和网格搜索相比,优点是迭代次数少(节省时间),粒度可以到很小,缺点是不容易找到全局最优解。 贝叶斯优化流程图如下:
The process of deciding where to sample next requires the choice of a utility function…To make clear which function we are discussing, we will refer to this utility as the acquisition function (also sometimes called the infill function) 采集函数(Acquisition Function,AC)常见的采集函数有下面三种,UCB,PI,EI,先介绍最好理解的UCB。 UCB(Upper confidence bound)U C B = μ ( x ) + k σ ( x ) UCB=\mu (x)+k\sigma (x) UCB=μ(x)+kσ(x),k为调节参数,直观地理解为上置信边界。 PI(probability of improvement)P I ( x ) = P ( f ( x ) ≥ f ( x + ) + υ ) = Φ ( μ ( x ) − f ( x + ) − υ σ ( x ) ) PI(x)=P(f(x)\geq f(x^{+})+\upsilon)=\Phi (\frac{\mu(x)-f(x^{+})-\upsilon}{\sigma(x)}) PI(x)=P(f(x)≥f(x+)+υ)=Φ(σ(x)μ(x)−f(x+)−υ) 超参数 υ \upsilon υ用于调节exploitation与exploitation, υ = 0 \upsilon=0 υ=0更倾向于收敛到 f ( x + ) 附 近 , f(x^{+})附近, f(x+)附近, Φ ( ⋅ ) 表 示 正 态 累 计 分 布 函 数 , f ( x + ) 表 |
CopyRight 2018-2019 实验室设备网 版权所有 |