nestedcv: Nested Cross-Validation with 'glmnet' and 'caret'

Implements nested k*l-fold cross-validation for lasso and elastic-net regularised linear models via the 'glmnet' package and other machine learning models via the 'caret' package. Cross-validation of 'glmnet' alpha mixing parameter and embedded fast filter functions for feature selection are provided. Described as double cross-validation by Stone (1977) <doi:10.1111/j.2517-6161.1977.tb01603.x>. Also implemented is a method using outer CV to measure unbiased model performance metrics when fitting Bayesian linear and logistic regression shrinkage models using the horseshoe prior over parameters to encourage a sparse model as described by Piironen & Vehtari (2017) <doi:10.1214/17-EJS1337SI>.

Version: 0.4.4
Imports: Boruta, caret, CORElearn, data.table, doParallel, foreach, ggplot2, glmnet, hsstan, matrixStats, matrixTests, methods, parallel, pROC, randomForest, RcppEigen, Rfast, rlang, SuperLearner
Suggests: mda, rmarkdown, knitr
Published: 2022-12-05
Author: Myles Lewis ORCID iD [aut, cre], Athina Spiliopoulou ORCID iD [aut], Katriona Goldmann ORCID iD [aut]
Maintainer: Myles Lewis <myles.lewis at>
License: MIT + file LICENSE
NeedsCompilation: no
Language: en-gb
Materials: README NEWS
CRAN checks: nestedcv results


Reference manual: nestedcv.pdf
Vignettes: nestedcv


Package source: nestedcv_0.4.4.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): nestedcv_0.4.0.tgz, r-oldrel (arm64): nestedcv_0.4.0.tgz, r-release (x86_64): nestedcv_0.4.0.tgz, r-oldrel (x86_64): nestedcv_0.4.0.tgz
Old sources: nestedcv archive


Please use the canonical form to link to this page.