parameter.search | R Documentation |
Implements a recursive grid search routine to solve optimization problems in arbitrary dimensions.
parameter.search(
n,
cost,
grid = NULL,
bounds,
splits = 10,
progression = NULL,
verbose = T,
...
)
n |
Number of recursions to perform |
cost |
The cost function which must return a numeric value and accept parameter values as the first arguments and in the order they are provided. |
bounds |
A dataframe containing the minimum and maximum values permitted of each parameter |
splits |
The number of subdivisions to perform for each dimension (so grid size is n x splits ^ dimensionality) |
progression |
The size of the new search-space to interrogate. A value between 1 and splits/2. Default value (NULL) will yeield a progression of max(1, splits/4), good for most problems. |
... |
Optional argument that is passed directly onto the cost function |
Thomas Bryce Kelly
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.