guix-devel
[Top][All Lists]
Advanced

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

[PATCH 03/35] gnu: Add r-lars.


From: Raoul Bonnal
Subject: [PATCH 03/35] gnu: Add r-lars.
Date: Thu, 19 Jan 2017 19:54:58 +0100

From: Raoul Jean Pierre Bonnal <address@hidden>

* gnu/packages/statistics.scm (r-lars): New variable.
---
 gnu/packages/statistics.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 1a9ace9..d9b494f 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -4098,3 +4098,26 @@ with letters, as is often required for scientific 
publications.")
 mixture models.")
     (license license:gpl2+)))
 
+(define-public r-lars
+  (package
+    (name "r-lars")
+    (version "1.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "lars" version))
+       (sha256
+        (base32
+         "0blj44wqrx6lmym1m9v6wkz8zxzbjax2zl6swgdczci0ixb5nx34"))))
+    (build-system r-build-system)
+    (inputs
+     `(("gfortran" ,gfortran)))
+    (home-page "http://www-stat.stanford.edu/~hastie/Papers/#LARS";)
+    (synopsis "Least angle regression, lasso and forward stagewise")
+    (description
+     "This package provides an efficient procedures for fitting an entire
+lasso sequence with the cost of a single least squares fit.  Least angle
+regression and infinitesimal forward stagewise regression are related to
+the lasso, as described in the paper below.")
+    (license license:gpl2)))
+
-- 
1.9.1




reply via email to

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