ensr: R Package for Simultaneous Selection of Elastic Net Tuning Parameters

Abstract

Motivation: Elastic net regression is a form of penalized regression that lies between ridge and least absolute shrinkage and selection operator (LASSO) regression. The elastic net penalty is a powerful tool controlling the impact of correlated predictors and the overall complexity of generalized linear regression models. The elastic net penalty has two tuning parameters: λ for the complexity and α for the compromise between LASSO and ridge. The R package glmnet provides efficient tools for fitting elastic net models and selecting λ for a given α. However, glmnet does not simultaneously search the λ - α space for the optional elastic net model. Results: We built the R package ensr, elastic net searcher. enser extends the functionality of glment to search the λ - α space and identify an optimal λ - α pair. Availability: ensr is available from the Comprehensive R Archive Network at https://cran.r-project.org/package=ensr

0

Turn this paper into a lesson

ArcXiv compiles a structured reading guide from this paper's metadata: plain-English importance, contributions, prerequisite concepts, which sections to read first, flashcards, and a quiz. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…