parameter.walk | R Documentation |
parameter.walk(
n,
cost,
...,
bounds,
progression = NULL,
max.iter = 1e+06,
k = 2
)
n |
Number of accepted solutions to seek |
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. |
... |
Optional argument that is passed directly onto the cost function |
bounds |
A dataframe containing the minimum and maximum values permitted of each parameter |
progression |
The step length for each parameter (default is 1 \itemmax.iterThe maximum number of steps to take before returning (even if n is unsatisfied). **Goal for function to return via n rather than by max.iter. |
Implements an MCMC algorithm (metropolis criterion) to determine a global optimum from within the stated bounds. Thomas Bryce Kelly
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.