guix-commits
[Top][All Lists]
Advanced

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

03/06: gnu: Add r-lars.


From: Ricardo Wurmus
Subject: 03/06: gnu: Add r-lars.
Date: Fri, 20 Jan 2017 14:42:08 +0000 (UTC)

rekado pushed a commit to branch master
in repository guix.

commit 793f2edbbc572e83612cb9ac5a7f685d46216cd4
Author: Raoul Jean Pierre Bonnal <address@hidden>
Date:   Thu Jan 19 19:54:58 2017 +0100

    gnu: Add r-lars.
    
    * gnu/packages/statistics.scm (r-lars): 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 33145d3..b4f8152 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -4097,3 +4097,29 @@ letters, as is often required for scientific 
publications.")
      "This package provides a collection of R functions for analyzing finite
 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 software")
+    (description
+     "Least Angle Regression (\"LAR\") is a model selection algorithm; a
+useful and less greedy version of traditional forward selection methods.  A
+simple modification of the LAR algorithm implements Tibshirani's Lasso; the
+Lasso modification of LARS calculates the entire Lasso path of coefficients
+for a given problem at the cost of a single least squares fit.  Another LARS
+modification efficiently implements epsilon Forward Stagewise linear
+regression.")
+    (license license:gpl2)))



reply via email to

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