Chapter 28

Optimization

return to the Course index
previous | next

Grid Search Method

The grid search method simply determine the WSS at each point on the grid of parameter values. It may offer some protection against local minima but it is not very efficient. As more parameters are included in the model the number of determinations can be excessive. With three parameters and 10 points per grid, 10 x 10 x 10 determinations are required.

Example Grid Search Result

Using Boomer and gnuplot (installed via https://brew.sh) the following grid search animated gif could be created.

Animated Plot of WSS versus kel and V

Using Boomer (https://www.boomer.org/boomer/) select Grid Search as the optimization method and set upper and lower limits on each parameters to optimize and the number of grids. Boomer will output a .WSS file containing the WSS values at each grid point and a .DAT file containing the same information in a format for gnuplot. The .dem file can be used with gunplot to create an animated gif for each pair of parameters using the command

gnuplot abc0x_0y.dem

The .dem plot can be edited to adjust options available to experienced gnuplot users.


This page was last modified: Sunday, 28th Jul 2024 at 5:08 pm


Privacy Statement - 25 May 2018

Material on this website should be used for Educational or Self-Study Purposes Only


Copyright © 2001 - 2025 David W. A. Bourne (david@boomer.org)


Name the Drug
Name the Drug
A game to aid recognizing brand versus generic drug names
See how many names you can catch before you run out of lives
Download from the App Store