Python中最接近R的nlminb的函数是什么?
What is the closest function to R's nlminb in Python?
Python scipy.optimize.minimize
函数支持以下方法:
- 内尔德-米德
- 鲍威尔
- CG
- BFGS
- 牛顿-CG
- L-BFGS-B
- 跨国公司
- 科比拉
- SLSQP
- 信任构造
- 狗腿
- trust-ncg
- 完全信任
- 信任克雷洛夫
哪种方法最接近 R 的 nlminb
?
nlminb
是一个无约束和边界约束的拟牛顿法优化器。此代码基于贝尔实验室的 David Gay 编写的 FORTRAN PORT 库。至于Pyhon的拟牛顿方法是:
Unconstrained minimization
Method BFGS uses the quasi-Newton method of Broyden, Fletcher, Goldfarb, > > and Shanno (BFGS) [5] pp. 136.
Bound-Constrained minimization
Method L-BFGS-B uses the L-BFGS-B algorithm [6], [7] for bound
constrained minimization.
L-BFGS-B 和 BFGS,作为拟牛顿族方法的成员,是最接近 nlminb
的类比。
Python scipy.optimize.minimize
函数支持以下方法:
- 内尔德-米德
- 鲍威尔
- CG
- BFGS
- 牛顿-CG
- L-BFGS-B
- 跨国公司
- 科比拉
- SLSQP
- 信任构造
- 狗腿
- trust-ncg
- 完全信任
- 信任克雷洛夫
哪种方法最接近 R 的 nlminb
?
nlminb
是一个无约束和边界约束的拟牛顿法优化器。此代码基于贝尔实验室的 David Gay 编写的 FORTRAN PORT 库。至于Pyhon的拟牛顿方法是:
Unconstrained minimization
Method BFGS uses the quasi-Newton method of Broyden, Fletcher, Goldfarb, > > and Shanno (BFGS) [5] pp. 136.
Bound-Constrained minimization
Method L-BFGS-B uses the L-BFGS-B algorithm [6], [7] for bound constrained minimization.
L-BFGS-B 和 BFGS,作为拟牛顿族方法的成员,是最接近 nlminb
的类比。