Package park :: Package optim :: Module fitmc

Module fitmc

source code

Functions
 
fitmc(fitness, localfit, n, handler)
Run a monte carlo fit.
source code
Function Details

fitmc(fitness, localfit, n, handler)

source code 

Run a monte carlo fit.

This procedure maps a local optimizer across a set of n initial points. The initial parameter value defined by the fitness parameters defines one initial point. The remainder are randomly generated within the bounds of the problem.

localfit is the local optimizer to use. It should be a bounded optimizer following the park.fitmc.LocalFit interface.

handler accepts updates to the current best set of fit parameters. See park.fitresult.FitHandler for details.