get_prob_individuals: get_prob_individuals

Description Usage Arguments Value

View source: R/util.R

Description

Used to get the probabilities of each individual in a list of (variables, indices, linear_model) in the next generation proportionally to the value of their objective

Usage

1
get_prob_individuals(individuals, objective = "AIC")

Arguments

individuals

list of (variables, indices, linear_model) see the results section of random_selection_regression for more details

objective

objective function

Value

a list of probabilities that correspond to the objective value.


Skjemaa/GA documentation built on May 3, 2019, 6:42 p.m.