Other packages > Find by keyword >

glmnetr  

Nested Cross Validation for the Relaxed Lasso and Other Machine Learning Models
View on CRAN: Click here


Download and install glmnetr package within the R console
Install from CRAN:
install.packages("glmnetr")

Install from Github:
library("remotes")
install_github("cran/glmnetr")

Install by package version:
library("remotes")
install_version("glmnetr", "0.6-3")



Attach the package and use:
library("glmnetr")
Maintained by
Walter K Kremers
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2022-12-14
Latest Update: 2025-05-10
Description:
Cross validation informed Relaxed LASSO, Artificial Neural Network (ANN), gradient boosting machine ('xgboost'), Random Forest ('RandomForestSRC'), Recursive Partitioning ('RPART') or step wise regression models are fit. Nested cross validation (or analogous for the random forest) is used to estimate and compare performances between these models. For some datasets, for example when the design matrix is not of full rank, 'glmnet' may have very long run times when fitting the relaxed lasso model, from our experience when fitting Cox models on data with many predictors and many patients, making it difficult to get solutions from either glmnet() or cv.glmnet(). This may be remedied with the 'path=TRUE' options when calling glmnet() and cv.glmnet(). Within the glmnetr package the approach of path=TRUE is taken by default. When fitting not a relaxed lasso model but an elastic-net model, then the R-packages 'nestedcv' , 'glmnetSE' or others may provide greater functionality when performing a nested CV. As with the 'glmnet' package, this package passes most relevant output to the output object and tabular and graphical summaries can be generated using the summary and plot functions. Use of the 'glmnetr' has many similarities to the 'glmnet' package and it is recommended that the user of 'glmnetr' also become familiar with the 'glmnet' package , with the "An Introduction to 'glmnet'" and "The Relaxed Lasso" being especially helpful in this regard.
How to cite:
Walter K Kremers (2022). glmnetr: Nested Cross Validation for the Relaxed Lasso and Other Machine Learning Models. R package version 0.6-3, https://cran.r-project.org/web/packages/glmnetr. Accessed 04 Jun. 2026.
Previous versions and publish date:
0.1-1 (2022-12-14 13:10), 0.1-2 (2023-02-18 19:40), 0.2-0 (2023-05-10 20:40), 0.2-1 (2023-06-07 12:50), 0.3-1 (2023-08-10 08:50), 0.4-1 (2024-01-09 01:40), 0.4-2 (2024-02-09 01:50), 0.4-3 (2024-03-04 01:40), 0.4-4 (2024-03-23 16:50), 0.4-5 (2024-04-20 01:52), 0.4-6 (2024-04-21 23:02), 0.5-1 (2024-05-12 21:53), 0.5-2 (2024-07-12 16:20), 0.5-3 (2024-08-28 23:10), 0.5-4 (2024-10-24 19:10), 0.5-5 (2025-01-17 06:20), 0.6-1 (2025-05-10 20:20), 0.6-2 (2025-08-19 16:20)
Other packages that cited glmnetr R package
View glmnetr citation profile
Other R packages that glmnetr depends, imports, suggests or enhances
Complete documentation for glmnetr
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

phers  
Calculate Phenotype Risk Scores
Use phenotype risk scores based on linked clinical and genetic data to study Mendelian disease and ...
Download / Learn more Package Citations See dependency  
crplyr  
A 'dplyr' Interface for Crunch
In order to facilitate analysis of datasets hosted on the Crunch data platform ...
Download / Learn more Package Citations See dependency  
golem  
A Framework for Robust Shiny Applications
An opinionated framework for building a production-ready 'Shiny' application. This package contains ...
Download / Learn more Package Citations See dependency  
AMPLE  
Shiny Apps to Support Capacity Building on Harvest Control Rules
Three Shiny apps are provided that introduce Harvest Control Rules (HCR) for fisheries management. ...
Download / Learn more Package Citations See dependency  
shinybusy  
Busy Indicators and Notifications for 'Shiny' Applications
Add indicators (spinner, progress bar, gif) in your 'shiny' applications to show the user that the ...
Download / Learn more Package Citations See dependency  
murphydiagram  
Murphy Diagrams for Forecast Comparisons
Data and code for the paper by Ehm, Gneiting, Jordan and Krueger ('Of Quantiles and Expectiles: Con ...
Download / Learn more Package Citations See dependency  

27,268

R Packages

233,548

Dependencies

72,590

Author Associations

27,205

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA