seibert.gapo: Seibert GAP function optimisation

Description Usage Arguments Value

View source: R/gap_seibert.R

Description

Seibert GAP function optimisation

Usage

1
2
3
4
5
6
seibert.gapo(.fun, ..., .objective = function(x) x, .validate = TRUE,
  .seed = NULL, .rescaler = c("rescale_none", "rescale", "squish"),
  .generations = 100, .pop = 50, .keepbest = TRUE,
  .breedargs = list(breed.use1 = 0.41, breed.use2 = 0.41, breed.rinterpolate =
  0.16, breed.mutate = 0.02), .progress = c("none", "text", "tk"),
  .output = c("best", "last", "all"))

Arguments

.fun

The function to be called

...

Arguments to be passed to .fun expressed as param objects.

.objective

An optional function to be called on the result of .fun to produce an objective value. If this is not passed, the result of .fun is used to maximize.

.validate

Pass FALSE to skip validation. May be faster.

.seed

Seed for random operations.

.rescaler

An optional rescaling method used to rescale the output of .objective.

.generations

The number of generations to evolve the population.

.pop

The population size to use.

.keepbest

Pass TRUE to discard the results of a next generation if no individuals have an improved objective value.

.breedargs

Passed to seibert.breed: default values for parameter breeding. These may be overridden by additional arguments to each parameter.

.progress

A plyr progress bar to use, or 'none'.

.output

Use to output the best parameters, the last generation, or all parameters.

Value

A data.frame with columns for each named parameter


paleolimbot/easyoptim documentation built on May 24, 2019, 6:12 p.m.