evoFE: Evolutionary Feature Engineering

Automates feature engineering using evolutionary algorithms inspired by genetic programming. Starting from raw input features, the package evolves candidate transformation recipes through selection, crossover, and mutation, evaluating fitness via cross-validation or train/validation splits with gradient-boosted tree models ('LightGBM' or 'XGBoost'). Built-in transformers include arithmetic, logarithmic, and power operations, interaction terms, target encoding, quantile and log-based binning, principal component analysis, truncated singular value decomposition, Uniform Manifold Approximation and Projection (UMAP) dimensionality reduction, and minimum spanning tree (MST) graph-based clustering. The evolutionary search yields an optimised feature recipe that can be applied to new data for prediction. Methods are described in McInnes et al. (2018) <doi:10.21105/joss.00861>, Ke et al. (2017) <doi:10.48550/arXiv.1711.08789>, Chen and Guestrin (2016) <doi:10.1145/2939672.2939785>, Gagolewski (2021) <doi:10.1016/j.softx.2021.100722>, Gagolewski (2026) <doi:10.32614/CRAN.package.lumbermark>, and Gagolewski (2026) <doi:10.32614/CRAN.package.deadwood>.

Version: 1.0.0
Imports: data.table, lightgbm, xgboost, stats, digest, uwot, quitefastmst, genieclust, paradox, bbotk, mlr3mbo, lhs
Suggests: glmnet, RhpcBLASctl, testthat, knitr, rmarkdown, lumbermark, deadwood, keras3, httpuv, jsonlite, farff, ranger, DiceKriging, rgenoud, mlr3learners
Published: 2026-08-25
DOI: 10.32614/CRAN.package.evoFE
Author: Gustavo Pereira [aut, cre]
Maintainer: Gustavo Pereira <tanopereira at gmail.com>
BugReports: https://github.com/tanopereira/evoFE/issues
License: MIT + file LICENSE
URL: https://github.com/tanopereira/evoFE
NeedsCompilation: no
Materials: README, NEWS
CRAN checks: evoFE results

Documentation:

Reference manual: evoFE.html , evoFE.pdf
Vignettes: Getting Started with evoFE (source, R code)

Downloads:

Package source: evoFE_1.0.0.tar.gz
Windows binaries: r-devel: evoFE_1.0.0.zip, r-release: evoFE_1.0.0.zip, r-oldrel: evoFE_1.0.0.zip
macOS binaries: r-release (arm64): evoFE_1.0.0.tgz, r-oldrel (arm64): evoFE_1.0.0.tgz, r-release (x86_64): evoFE_1.0.0.tgz, r-oldrel (x86_64): evoFE_1.0.0.tgz
Old sources: evoFE archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=evoFE to link to this page.