parameter.walk: Parameter Search using Random Walk

parameter.walkR Documentation

Parameter Search using Random Walk

Usage

parameter.walk(
  n,
  cost,
  ...,
  bounds,
  progression = NULL,
  max.iter = 1e+06,
  k = 2
)

Arguments

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

\item

max.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


tbrycekelly/TheSource documentation built on Nov. 7, 2023, 12:48 a.m.