Description Usage Arguments Value
View source: R/fitmethod-gridSearch.R
maximize a function using grid search TODO – not finished documenting this
1 2 | optimize.grid(grid.vals, M = 3, delta = 0.1, func, epsilon = 1e-06,
verbose = FALSE, cpp = FALSE, ...)
|
grid.vals |
a list with an entry for each param, which has a vector of all of the values the param should take on |
M |
the number of times to run grid search (refining results each time...) |
delta |
the size of the window to construct grid over. if delta=0.1, make a grid from (0.9*alpha, 1.1*alpha) |
func |
the function to optimize |
epsilon |
the minimum difference to consider significant; if the difference between the current optimum and the previous one is less than epsilon (in absolute value), then stop |
verbose |
if TRUE, print out info about optimization |
cpp |
if TRUE, use the C++ version... (default is FALSE) |
... |
other arguments, which get passed along to grid.search |
TODO
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.