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' <>) 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.4
Depends: R (≥ 3.6)
Imports: data.table, kdry, parallel, progress, R6, splitTools, stats
Suggests: class, datasets, lintr, mlbench, mlr3measures, ParBayesianOptimization, quarto, rpart, testthat (≥ 3.0.1)
Published: 2024-07-05
DOI: 10.32614/CRAN.package.mlexperiments
Author: Lorenz A. Kapsner ORCID iD [cre, aut, cph]
Maintainer: Lorenz A. Kapsner <lorenz.kapsner at>
License: GPL (≥ 3)
NeedsCompilation: no
SystemRequirements: Quarto command line tools (
CRAN checks: mlexperiments results


Reference manual: mlexperiments.pdf
Vignettes: KNN: Binary Classification
KNN: Multiclass Classification
rpart: Binary Classification
rpart: Multiclass Classification
rpart: Regression
mlexperiments: Getting Started


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

Reverse dependencies:

Reverse imports: mllrnrs, mlsurvlrnrs


Please use the canonical form to link to this page.