get_model: get_model

Description Usage Arguments Value

View source: R/utils.R

Description

This function returns the parameter of the model once we fit method on candidate

Usage

1
get_model(candidate, fitness_values, method_text, X)

Arguments

candidate

(binary vector length c): on or off for each columns of X method: method for fitting

X

(matrix n x (c+1)): data (n x c) and the last column is the value of y.

Value

lm/glm object : the model selected after GA.


jtkwar/GA documentation built on May 28, 2019, 7:36 a.m.