Learn R Programming

relaxnet (version 0.3-2)

Relaxation of glmnet models (as in relaxed lasso, Meinshausen 2007)

Description

Extends the glmnet package with "relaxation", done by running glmnet once on the entire predictor matrix, then again on each different subset of variables from along the regularization path. Relaxation may lead to improved prediction accuracy for truly sparse data generating models, as well as fewer false positives (i.e. fewer noncontributing predictors in the final model). Penalty may be lasso (alpha = 1) or elastic net (0 < alpha < 1). For this version, family may be "gaussian" or "binomial" only. Takes advantage of fast FORTRAN code from the glmnet package.

Copy Link

Version

Install

install.packages('relaxnet')

Monthly Downloads

20

Version

0.3-2

License

GPL (>= 2)

Maintainer

Stephan Ritter

Last Published

August 16th, 2013

Functions in relaxnet (0.3-2)

print.relaxnet

Print Method for relaxnet Objects
relaxnet

Relaxation (as in Relaxed Lasso, Meinshausen 2007) applied to glmnet Models
predict.relaxnet

Predict Method for "relaxnet" Objects
predict.cv.relaxnet

Predict Methods for cv.relaxnet and cv.alpha.relaxnet Objects
relaxnet-package

Relaxation (as in Relaxed Lasso, Meinshausen 2007) Applied to glmnet Models
summary.relaxnet

Generate and print summaries of class "relaxnet" objects.
cv.relaxnet

Cross-Validation for relaxnet Models