SciPy TutorialLesson 5Free preview
SciPy Optimizers
This lesson is part of SciPy · All levels
Summary
SciPy optimizers are used to find the best value of a function, such as minimum cost or maximum profit. The scipy.optimize module provides minimize, minimize_scalar, and curve_fit which are each suitable for different input types. Some methods require preliminary estimates and limits to converge results.
Key points
- It provides ready-made optimization algorithms
- Minimize is used for functions with many variables
- Minimize_scalar is used for a single variable function
- The initial guess and the limit help the method to the solution
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.