set.control: Set controls for the Differential Evolution Algorithm

Description Usage Arguments Details Value References

View source: R/fits.R

Description

Specifies various parameters of the Differential Evolution optimization algorithm implemented in DEoptim.

Usage

1
set.control(CR=.85, F=.7, NP=300, itermax=2000, parallelType=1)

Arguments

CR

numeric, crossover probability from interval [0,1].

F

numeric, differential weighting factor from interval [0,2].

NP

numeric, number of population members

itermax

numeric, the number of iterations

parallelType

numeric, defines the type of parallelization to employ. 0 for a single-core run. If parallelType=1 the program will use all the available cores, via the parallel package.

Details

For the most tasks, it is best to set NP to at least 10-15 times the length of the parameter vector.

Value

a list of elements suitable for do.fit and do.fit.banks.

References

Mullen, K.M., Ardia, D., Gil, D., Windover, D., Cline, J. (2011): DEoptim: An R Package for Global Optimization by Differential Evolution. J. Stat. Softw., 40(6), 1-26. https://www.jstatsoft.org/article/view/v040i06.


BBEST documentation built on Jan. 8, 2021, 2:22 a.m.