简体   繁体   中英

Difference between scipy.optimize.fmin and scipy.optimize.minimize

I'm learning python to make models these days. I read the documentation of scipy.optimize.fmin . It also recommends scipy.optimize.minimize . It seems that scipy.optimize.minimize is a more advanced method. Real wonder what's the difference between these two.

scipy.optimize.minimize is a high-level interface that lets you choose from a broad range of solvers, one of which is Nelder–Mead. scipy.optimize.fmin is a special solver using Nelder–Mead. For a specific subdocumentation of minimize with Nelder–Mead, see here .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM