mlexperiments: Machine Learning Experiments

Provides 'R6' objects to perform parallelized hyperparameter optimization and cross-validation. Hyperparameter optimization can be performed with Bayesian optimization (via 'ParBayesianOptimization' <https://cran.r-project.org/package=ParBayesianOptimization>) and grid search. The optimized hyperparameters can be validated using k-fold cross-validation. Alternatively, hyperparameter optimization and validation can be performed with nested cross-validation. While 'mlexperiments' focuses on core wrappers for machine learning experiments, additional learner algorithms can be supplemented by inheriting from the provided learner base class.

Version: 0.0.5
Depends: R (≥ 4.1.0)
Imports: data.table, kdry, parallel, progress, R6, splitTools, stats
Suggests: class, datasets, lintr, mlbench, mlr3measures, ParBayesianOptimization, quarto, rpart, testthat (≥ 3.0.1)
Published: 2025-03-03
DOI: 10.32614/CRAN.package.mlexperiments
Author: Lorenz A. Kapsner ORCID iD [cre, aut, cph]
Maintainer: Lorenz A. Kapsner <lorenz.kapsner at gmail.com>
BugReports: https://github.com/kapsner/mlexperiments/issues
License: GPL (≥ 3)
URL: https://github.com/kapsner/mlexperiments
NeedsCompilation: no
SystemRequirements: Quarto command line tools (https://github.com/quarto-dev/quarto-cli).
CRAN checks: mlexperiments results

Documentation:

Reference manual: mlexperiments.pdf
Vignettes: KNN: Binary Classification (source, R code)
KNN: Multiclass Classification (source, R code)
rpart: Binary Classification (source, R code)
rpart: Multiclass Classification (source, R code)
rpart: Regression (source, R code)
mlexperiments: Getting Started (source, R code)

Downloads:

Package source: mlexperiments_0.0.5.tar.gz
Windows binaries: r-devel: mlexperiments_0.0.4.zip, r-release: mlexperiments_0.0.5.zip, r-oldrel: mlexperiments_0.0.4.zip
macOS binaries: r-devel (arm64): mlexperiments_0.0.5.tgz, r-release (arm64): mlexperiments_0.0.5.tgz, r-oldrel (arm64): mlexperiments_0.0.5.tgz, r-devel (x86_64): mlexperiments_0.0.5.tgz, r-release (x86_64): mlexperiments_0.0.5.tgz, r-oldrel (x86_64): mlexperiments_0.0.5.tgz
Old sources: mlexperiments archive

Reverse dependencies:

Reverse imports: mllrnrs, mlsurvlrnrs

Linking:

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