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.5-5")



Attach the package and use:
library("glmnetr")
Maintained by
Walter K Kremers
[Scholar Profile | Author Map]
First Published: 2022-12-14
Latest Update: 2024-03-04
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.5-5, https://cran.r-project.org/web/packages/glmnetr. Accessed 02 May. 2025.
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)
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
04/0204/0304/0404/0504/0604/0704/0804/0904/1004/1104/1204/1304/1404/1504/1604/1704/1804/1904/2004/2104/2204/2304/2404/2504/2604/2704/2804/2904/3005/01Downloads for glmnetr01020304050607080TrendBars

Today's Hot Picks in Authors and Packages

frailtypack  
Shared, Joint (Generalized) Frailty Models; Surrogate Endpoints
The following several classes of frailty models using a penalized likelihood estimation on the hazar ...
Download / Learn more Package Citations See dependency  
quotedargs  
A Way of Writing Functions that Quote their Arguments
A facility for writing functions that quote their arguments, may sometimes evaluate them in the env ...
Download / Learn more Package Citations See dependency  
disprofas  
Non-Parametric Dissolution Profile Analysis
Similarity of dissolution profiles is assessed using the similarity factor f2 according to the EMA ...
Download / Learn more Package Citations See dependency  
contFracR  
Continued Fraction Generators and Evaluators
Converts numbers to continued fractions and back again. A solver for Pell's Equation is provided. T ...
Download / Learn more Package Citations See dependency  
nlsem  
Fitting Structural Equation Mixture Models
Estimation of structural equation models with nonlinear effects and underlying nonnormal distributi ...
Download / Learn more Package Citations See dependency  
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  

24,142

R Packages

207,311

Dependencies

65,176

Author Associations

24,143

Publication Badges

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