Skip to main content

Module brute

Module brute 

Source
Expand description

Brute-force minimisation over a grid (SciPy’s optimize.brute).

See the book entry Brute force, isotonic regression and gradient checks.

Structs§

BruteResult
The result of brute.

Functions§

brute
Minimises f by evaluating it at every point of the grid with ns equally spaced points from lo to hi (both included) on each axis (SciPy’s brute with (lo, hi) ranges and Ns = ns, SciPy’s default 20). With finish, the best grid point is polished by Nelder-Mead, as SciPy’s default finish = fmin, and kept only if the polished point is better.