What is the closest function to R's nlminb in Python?

后端 未结 1 1398
眼角桃花
眼角桃花 2020-12-21 11:15

Python scipy.optimize.minimize function supports the following methods:

  • Nelder-Mead
  • Powell
  • CG
  • BFGS
  • Newton-CG
相关标签:
1条回答
  • 2020-12-21 11:25

    nlminb is an unconstrained and bounds-constrained quasi-Newton method optimizer. This code is based on a FORTRAN PORT library by David Gay in the Bell Labs. As for Pyhon quasi-Newton menthods are:

    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, being a member of quasi-Newton family methods, are the closest analogs of nlminb.

    0 讨论(0)
提交回复
热议问题