Some quality-of-life functions to streamline the process of fitting
elastic net models with glmnet, specifically:
glmnet.formula provides a formula/data frame interface
to glmnet.cv.glmnet.formula does a similar thing for
cv.glmnet.predict and coef for both the
above.cva.glmnet to choose both the alpha and
lambda parameters via cross-validation, following the approach described
in the help page for cv.glmnet. Optionally does the
cross-validation in parallel.plot, predict and
coef for the above.You can install the development version from Github using
devtools::install_github.
install.packages("devtools")
library(devtools)
install_github("hongooi73/glmnetUtils")
library(glmnetUtils)
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.