guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] gnu: Add r-glmnet.


From: Ben Woodcroft
Subject: Re: [PATCH] gnu: Add r-glmnet.
Date: Fri, 1 Jul 2016 09:08:21 +1000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0



On 30/06/16 22:42, Ricardo Wurmus wrote:
Ben Woodcroft <address@hidden> writes:

* 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")
Does this need to be all caps?

No they do not. I made all except the first lower case and pushed. Thanks for the review.
ben



reply via email to

[Prev in Thread] Current Thread [Next in Thread]