Description Usage Arguments Examples
This is the primary function of the R package of this project.
1 2 3 4 |
X |
matrix/dataframe; predictors |
Y |
vector/matrix/dataframe; observations to be used in the fitting process |
popNum |
integer; What is the population size of chromosomes? Default to 100 |
reg |
string; 'lm'/'glm; What is the regression type? Default to 'lm' |
criterion |
string; function name; What is the objective criterion function? Default to 'AIC' |
useParallel |
logic; Should it use parallelization? Default to FALSE |
numCores |
integer; How many cores should it use? Default to 4 |
usingRank |
logic; TRUE define selection probabilities using the rank and FALSE create selection probabilities proportionate to fitness; defaults to TRUE |
cross_cutNum |
integer; How many cuts do you want for the crossover? Defaults to 1 |
mutation_prob |
numeric; below or equal to 1 and above or equal to 0; What is the probability of mutation? Defaults to 0.01 |
mut_pCurve |
logic; Should it use curve for the probability of mutation (Starting with a big probability and decreasing to mutation_prob by the time)? Defaults to FALSE. |
initial_zeroRate |
numeric; below or equal to 1 and above or equal to 0; What is the rate of zero among the genes of the first generation? Defaults to 0.5 |
min_iter |
integer; What is the minimum number of iterations? Defaults to 10. |
max_iter |
integer; What is the maximum number of iterations? Defaults to 500. |
1 | select()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.