Description Usage Arguments Value Examples
Attempt to find an optimal set of AFLELO Params using a genetic algorithm
1 2  | optimise_params(matches, start_eval = 2000, end_eval = 2016, n = 100,
  prop_new = 0.1, generations = 10, pred_weight = 0.8, n_cores = 1)
 | 
matches | 
 data.frame of matches for training and evaluation  | 
start_eval | 
 start season for calculating fitness  | 
end_eval | 
 end season for calculating fitness  | 
n | 
 population size  | 
prop_new | 
 proportion of new individuals added at each generation  | 
generations | 
 number of generations  | 
pred_weight | 
 weight given to prediction accuracy when calculating fitness  | 
n_cores | 
 number of cores to use  | 
list of data.frames describing parameters and fitness, one for each generation
1 2 3  | data("matches")
optimise_params(matches, start_eval = 1997, end_eval = 1998, n = 5,
                generations = 1)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.