From: Ben Woodcroft <donttrustben@gmail.com>
To: guix-devel@gnu.org
Subject: [PATCH] gnu: Add r-glmnet.
Date: Thu, 30 Jun 2016 11:44:44 +1000 [thread overview]
Message-ID: <20160630014444.28656-1-donttrustben@gmail.com> (raw)
* gnu/packages/statistics.scm (r-glmnet): New variable.
---
gnu/packages/statistics.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index f037392..732d874 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -2244,6 +2244,32 @@ singular and eigenvalue decompositions, as well as for principal component
analysis of large sparse or dense matrices.")
(license (list license:gpl2+ license:gpl3+))))
+(define-public r-glmnet
+ (package
+ (name "r-glmnet")
+ (version "2.0-5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "glmnet" version))
+ (sha256
+ (base32
+ "1cbpzmbv837fvq88rgn6mgzgr9f1wqp9fg8gh2kkmngvr1957a9c"))))
+ (build-system r-build-system)
+ (inputs
+ `(("gfortran" ,gfortran)))
+ (propagated-inputs
+ `(("r-foreach" ,r-foreach)))
+ (home-page "http://www.jstatsoft.org/v33/i01")
+ (synopsis "Lasso and Elastic-Net Regularized Generalized Linear Models")
+ (description
+ "The glmnet package provides efficient procedures for fitting the entire
+lasso or elastic-net regularization path for linear and Poisson regression, as
+well as logistic, multinomial, Cox, multiple-response Gaussian and grouped
+multinomial models. The algorithm uses cyclical coordinate descent in a
+path-wise fashion.")
+ (license license:gpl2+)))
+
(define-public r-pkgmaker
(package
(name "r-pkgmaker")
--
2.9.0
next reply other threads:[~2016-06-30 1:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-30 1:44 Ben Woodcroft [this message]
2016-06-30 12:42 ` [PATCH] gnu: Add r-glmnet Ricardo Wurmus
2016-06-30 23:08 ` Ben Woodcroft
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160630014444.28656-1-donttrustben@gmail.com \
--to=donttrustben@gmail.com \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.