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 07 Mar. 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

nextGenShinyApps  
Craft Exceptional 'R Shiny' Applications and Dashboards with Novel Responsive Tools
Nove responsive tools for designing and developing 'Shiny' dashboards and applications. The scripts ...
Download / Learn more Package Citations See dependency  
portalr  
Create Useful Summaries of the Portal Data
Download and generate summaries for the rodent, plant, ant, and weather data from the Portal Projec ...
Download / Learn more Package Citations See dependency  
lmSubsets  
Exact Variable-Subset Selection in Linear Regression
Exact and approximation algorithms for variable-subset selection in ordinary linear regression mode ...
Download / Learn more Package Citations See dependency  
ReviewR  
A Light-Weight, Portable Tool for Reviewing Individual Patient Records
A portable Shiny tool to explore patient-level electronic health record data and perform chart revi ...
Download / Learn more Package Citations See dependency  
SAMtool  
Stock Assessment Methods Toolkit
Simulation tools for closed-loop simulation are provided for the 'MSEtool' operating model to inform ...
Download / Learn more Package Citations See dependency  
testDriveR  
Teaching Data for Statistics and Data Science
Provides data sets for teaching statistics and data science courses. It includes a sample of data f ...
Download / Learn more Package Citations See dependency  

26,264

R Packages

223,360

Dependencies

70,376

Author Associations

26,265

Publication Badges

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