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-4")



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: 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-4, https://cran.r-project.org/web/packages/glmnetr. Accessed 22 Dec. 2024.
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)
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
Get rewarded with contribution points by helping add
Reviews / comments / questions /suggestions ↴↴↴

Today's Hot Picks in Authors and Packages

Rfast2  
A Collection of Efficient and Extremely Fast R Functions II
A collection of fast statistical and utility functions for data analysis. Functions for regression, ...
Download / Learn more Package Citations See dependency  
composits  
Compositional, Multivariate and Univariate Time Series Outlier Ensemble
A compositional multivariate and univariate time series outlier ensemble.It uses the four R packages ...
Download / Learn more Package Citations See dependency  
wordspace  
Distributional Semantic Models in R
An interactive laboratory for research on distributional semantic models ('DSM', see < ...
Download / Learn more Package Citations See dependency  
LOGANTree  
Tree-Based Models for the Analysis of Log Files from Computer-Based Assessments
Enables researchers to model log-file data from computer-based assessments using machine-learning te ...
Download / Learn more Package Citations See dependency  
Maintainer: Qi Qin (view profile)
elect  
Estimation of Life Expectancies Using Multi-State Models
Functions to compute state-specific and marginal life expectancies. The computation is based on a fi ...
Download / Learn more Package Citations See dependency  
tropAlgebra  
Tropical Algebraic Functions
It includes functions like tropical addition, tropical multiplication for vectors and matrices. In t ...
Download / Learn more Package Citations See dependency  

23,394

R Packages

201,798

Dependencies

63,416

Author Associations

23,395

Publication Badges

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