evaluate_population: Evaluate population

Description Usage Arguments Value Examples

View source: R/optimise.R

Description

Evaluate a population of AFLELO Params object

Usage

1
2
evaluate_population(population, matches, start_eval = 2000, end_eval = 2016,
  pred_weight = 0.8, n_cores = 1)

Arguments

population

list of aflelo_params to evaluate

matches

data.frame of matches for training and evaluation

start_eval

start season for calculating fitness

end_eval

end season for calculating fitness

pred_weight

weight given to prediction accuracy when calculating fitness

n_cores

number of cores to use

Value

data.frame giving the fitness of each aflelo_params

Examples

1
2
3
data("matches")
population <- aflelo:::new_population(5)
evaluate_population(population, matches, start_eval = 1997, end_eval = 1998)

lazappi/aflelo documentation built on May 17, 2019, 7:30 p.m.