Package: gaselect 1.0.21

David Kepplinger

gaselect: Genetic Algorithm (GA) for Variable Selection from High-Dimensional Data

Provides a genetic algorithm for finding variable subsets in high dimensional data with high prediction performance. The genetic algorithm can use ordinary least squares (OLS) regression models or partial least squares (PLS) regression models to evaluate the prediction power of variable subsets. By supporting different cross-validation schemes, the user can fine-tune the tradeoff between speed and quality of the solution.

Authors:David Kepplinger

gaselect_1.0.21.tar.gz
gaselect_1.0.21.zip(r-4.5)gaselect_1.0.21.zip(r-4.4)gaselect_1.0.21.zip(r-4.3)
gaselect_1.0.21.tgz(r-4.4-x86_64)gaselect_1.0.21.tgz(r-4.4-arm64)gaselect_1.0.21.tgz(r-4.3-x86_64)gaselect_1.0.21.tgz(r-4.3-arm64)
gaselect_1.0.21.tar.gz(r-4.5-noble)gaselect_1.0.21.tar.gz(r-4.4-noble)
gaselect_1.0.21.tgz(r-4.4-emscripten)gaselect_1.0.21.tgz(r-4.3-emscripten)
gaselect.pdf |gaselect.html
gaselect/json (API)

# Install 'gaselect' in R:
install.packages('gaselect', repos = c('https://dakep.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/dakep/gaselect/issues

Uses libs:
  • openblas– Optimized BLAS
  • c++– GNU Standard C++ Library v3

On CRAN:

3.30 score 4 stars 9 scripts 270 downloads 1 mentions 9 exports 2 dependencies

Last updated 2 years agofrom:4354ca153a. Checks:OK: 1 WARNING: 5 NOTE: 3. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 21 2024
R-4.5-win-x86_64WARNINGNov 21 2024
R-4.5-linux-x86_64WARNINGNov 21 2024
R-4.4-win-x86_64WARNINGNov 21 2024
R-4.4-mac-x86_64WARNINGNov 21 2024
R-4.4-mac-aarch64WARNINGNov 21 2024
R-4.3-win-x86_64NOTENov 21 2024
R-4.3-mac-x86_64NOTENov 21 2024
R-4.3-mac-aarch64NOTENov 21 2024

Exports:evaluatorFitevaluatorLMevaluatorPLSevaluatorUserFunctionfitnessfitnessEvolutiongenAlggenAlgControlsubsets

Dependencies:RcppRcppArmadillo

Readme and manuals

Help Manual

Help pageTopics
Evaluate the fitness of variable subsetsevaluate evaluate,GenAlgEvaluator,matrix,numeric,ANY,integer,missing-method evaluate,GenAlgEvaluator,matrix,numeric,ANY,missing,integer-method evaluate,GenAlgEvaluator,matrix,numeric,ANY,missing,missing-method evaluate,GenAlgEvaluator,matrix,numeric,logical,integer,integer-method evaluate,GenAlgEvaluator,matrix,numeric,matrix,integer,integer-method
Fit EvaluatorevaluatorFit
LM EvaluatorevaluatorLM
PLS EvaluatorevaluatorPLS
User Defined EvaluatorevaluatorUserFunction
Get the fitness of a variable subsetfitness
Get the evolution of the fitnessfitnessEvolution
Format the raw segmentation list returned from the C++ code into a usable listformatSegmentation formatSegmentation,GenAlgFitEvaluator,list-method formatSegmentation,GenAlgLMEvaluator,list-method formatSegmentation,GenAlgPLSEvaluator,list-method formatSegmentation,GenAlgUserEvaluator,list-method
Genetic algorithm for variable subset selectiongenAlg
Result of a genetic algorithm runGenAlg GenAlg-class
Set control arguments for the genetic algorithmgenAlgControl
Control class for the genetic algorithmGenAlgControl GenAlgControl-class
Evaluator Base ClassGenAlgEvaluator GenAlgEvaluator-class
Fit EvaluatorGenAlgFitEvaluator GenAlgFitEvaluator-class
LM EvaluatorGenAlgLMEvaluator GenAlgLMEvaluator-class
PLS EvaluatorGenAlgPLSEvaluator GenAlgPLSEvaluator-class
User Function EvaluatorGenAlgUserEvaluator GenAlgUserEvaluator-class
Get the evaluation function from a GenAlgUserEvaluatorgetEvalFun getEvalFun,GenAlgEvaluator,GenAlg-method getEvalFun,GenAlgEvaluator,matrix-method getEvalFun,GenAlgUserEvaluator,GenAlg-method getEvalFun,GenAlgUserEvaluator,matrix-method
Get the found variable subset(s)subsets
Transform the object to a listtoCControlList toCControlList,GenAlgControl-method toCControlList,GenAlgFitEvaluator-method toCControlList,GenAlgLMEvaluator-method toCControlList,GenAlgPLSEvaluator-method toCControlList,GenAlgUserEvaluator-method
Get the transformed fitness valuestrueFitnessVal trueFitnessVal,GenAlgFitEvaluator,numeric-method trueFitnessVal,GenAlgLMEvaluator,numeric-method trueFitnessVal,GenAlgPLSEvaluator,numeric-method trueFitnessVal,GenAlgUserEvaluator,numeric-method
Check if the data is valid for the evaluatorvalidData validData,GenAlgEvaluator,GenAlg-method validData,GenAlgFitEvaluator,GenAlg-method validData,GenAlgLMEvaluator,GenAlg-method validData,GenAlgPLSEvaluator,GenAlg-method