Scipy

来自Shiyin's note
Shen讨论 | 贡献2017年10月1日 (日) 12:51的版本
跳到导航 跳到搜索

http://www.scipy-lectures.org

  • 求函数最小值
Methods based on conjugate gradient are named with ‘cg’ in scipy. The simple conjugate gradient method to minimize a function is scipy.optimize.fmin_cg():
In scipy, scipy.optimize.fmin() implements the Nelder-Mead approach: (不太依赖于倒数)