nestedcv
0.9.0Nested Cross-Validation with 'glmnet' and 'caret'
Overview
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.
Install
Health
- NOTE r-devel-linux-x86_64-debian-clang
- NOTE r-devel-linux-x86_64-debian-gcc
- NOTE r-devel-linux-x86_64-fedora-clang
- NOTE r-devel-linux-x86_64-fedora-gcc
- NOTE r-patched-linux-x86_64
- NOTE r-release-linux-x86_64
- NOTE2026-07-168 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- OK2026-07-158 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-05-2811 OK · 0 NOTE · 0 WARNING · 2 ERROR · 0 FAILURE
- OK2026-03-1014 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 31%
- Documented parameters
- 100%
- Return-value docs
- 100%
- References docs
- 5%
Downloads
Repository
Repository practices
3 development-tooling and community-health practices detected across 2 families in the upstream repository
Checks run against github.com/myles-lewis/nestedcv on 2026-07-30.
Dependencies
Code & Tests
People & History
20 releases. Pick two to compare their code metrics. R releases are shown for context.
- 0.9.0Latest
- unarchivedReturned to CRAN2026-07-14
- archivedRemoved from CRAN2026-06-10issues were not corrected in time
- RR 4.6.0 released · 2026-04-24
- 0.8.22026-04-10 · diff ↗
- unarchivedReturned to CRAN2026-04-10
- archivedRemoved from CRAN2026-03-31issues were not corrected in time
- RR 4.5.0 released · 2025-04-11
- 0.8.02025-03-10 · diff ↗
- 0.7.122024-11-27 · diff ↗
- 0.7.102024-08-16 · diff ↗
- 0.7.92024-07-04 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 0.7.82024-03-13 · diff ↗
- 0.7.42024-01-30 · diff ↗
- 0.7.32023-12-04 · diff ↗
Show 13 earlier events
- 0.7.02023-10-26 · diff ↗
- 0.6.92023-08-22 · diff ↗
- 0.6.72023-07-02 · diff ↗
- 0.6.62023-06-08 · diff ↗
- 0.6.42023-05-30 · diff ↗
- 0.6.22023-05-15 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 0.6.12023-04-16 · diff ↗
- 0.4.42022-12-05 · diff ↗
- 0.4.02022-10-23 · diff ↗
- 0.3.02022-09-10 · diff ↗
- 0.2.32022-07-07
- RR 4.2.0 released · 2022-04-22
Package metadata
- First published
- 2022-07-07
- Total releases
- 20 / 4 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 4.1.0
- Download size
- 2.5 MB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet