The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

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.7.10
Imports: caret, data.table, doParallel, foreach, ggplot2, glmnet, matrixStats, matrixTests, methods, parallel, pROC, Rfast, RhpcBLASctl, rlang, ROCR
Suggests: Boruta, CORElearn, fastshap (≥ 0.1.0), gbm, ggbeeswarm, ggpubr, hsstan, mda, mlbench, pbapply, pls, randomForest, ranger, RcppEigen, rmarkdown, knitr, SuperLearner
Published: 2024-08-16
DOI: 10.32614/CRAN.package.nestedcv
Author: Myles Lewis ORCID iD [aut, cre], Athina Spiliopoulou ORCID iD [aut], Cankut Cubuk ORCID iD [ctb], Katriona Goldmann ORCID iD [ctb]
Maintainer: Myles Lewis <myles.lewis at qmul.ac.uk>
BugReports: https://github.com/myles-lewis/nestedcv/issues
License: MIT + file LICENSE
URL: https://github.com/myles-lewis/nestedcv
NeedsCompilation: no
Language: en-gb
Citation: nestedcv citation info
Materials: README NEWS
In views: MachineLearning
CRAN checks: nestedcv results

Documentation:

Reference manual: nestedcv.pdf
Vignettes: nestedcv guide (source, R code)
Using outercv with Bayesian shrinkage models (source, R code)
Explaining nestedcv models with Shapley values (source, R code)

Downloads:

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

Linking:

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

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.