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 <doi:10.1093/bioadv/vbad048>. 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>.
Package details |
|
---|---|
Author | Myles Lewis [aut, cre] (<https://orcid.org/0000-0001-9365-5345>), Athina Spiliopoulou [aut] (<https://orcid.org/0000-0002-5929-6585>), Cankut Cubuk [ctb] (<https://orcid.org/0000-0003-4646-0849>), Katriona Goldmann [ctb] (<https://orcid.org/0000-0002-9073-6323>), Ryan C. Thompson [ctb] |
Maintainer | Myles Lewis <myles.lewis@qmul.ac.uk> |
License | MIT + file LICENSE |
Version | 0.8.0 |
URL | https://github.com/myles-lewis/nestedcv |
Package repository | View on CRAN |
Installation |
Install the latest version of this package by entering the following in R:
|
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.