selection_tournament: Tournament Selection Of Models for Recombination

Description Usage Arguments

Description

Standard selection is used to determine parent chromosomes fitness for recombination in the genetic algorithm for model optimization. Fitness is assessed based on AIC or an inputted fitness function (must be function to minimize). AIC is used in two ways: one through rank \frac{2\ r_{i}}{P(P+1)} and another through AIC weights.

  1. in tournament selection the population is first divded into a random partition of subsets of equal size k

  2. then within each partition we select the most fit chromosome for propagation in the new population

  3. iterate until we have a new population equal in size to the old population

Usage

1
selection_tournament(pop_fitness, fitness, P, P_ix, k)

Arguments

pop_fitness

a vector indicating fitness of each chrosomosome in the current generation based on the evaluated fitness function.

fitness

a character indicating whether to use rank or weight when comparing model fitness.

P

Population size, corresponding to the number of genes or covariates on each chromosome or model considered for recombination.

P_ix

a sequence of integers, ending value P.

k

size of each disjoint subset (must be smaller than P and whose quotient with P is 0, eg; P mod k = 0)

Author(s): References: Khalid Jebari, Mohammed Madiafi (2013) Selection Methods for Genetic Algorithms. https://www.researchgate.net/publication/259461147_Selection_Methods_for_Genetic_Algorithms.


slwu89/GA documentation built on May 14, 2019, 5:20 p.m.