guix-commits
[Top][All Lists]
Advanced

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

03/13: gnu: Add r-glinternet.


From: guix-commits
Subject: 03/13: gnu: Add r-glinternet.
Date: Wed, 21 Jul 2021 07:52:03 -0400 (EDT)

lbraun pushed a commit to branch master
in repository guix.

commit 2925d8419682ee84cb13781380fefca635e2954a
Author: Lars-Dominik Braun <lars@6xq.net>
AuthorDate: Tue Jul 20 10:43:46 2021 +0200

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

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 757c67b..ce9f1bf 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -6282,3 +6282,27 @@ and functions that facilitate the plotting of missing 
values and examination of
 imputations.  This allows missing data dependencies to be explored with minimal
 deviation from the common work patterns of @code{ggplot2} and tidy data.")
     (license license:expat)))
+
+(define-public r-glinternet
+  (package
+    (name "r-glinternet")
+    (version "1.0.11")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "glinternet" version))
+       (sha256
+        (base32
+         "1lqph2hj0h826gcfyk290ahkfalpnrd6jzymm60xi2qxia14lzk5"))))
+    (build-system r-build-system)
+    (home-page "http://web.stanford.edu/~hastie/Papers/glinternet_jcgs.pdf";)
+    (synopsis "Learning interactions via hierarchical group-lasso 
regularization")
+    (description "Group-Lasso INTERaction-NET.  Fits linear 
pairwise-interaction
+models that satisfy strong hierarchy: if an interaction coefficient is 
estimated
+to be nonzero, then its two associated main effects also have nonzero estimated
+coefficients.  Accommodates categorical variables (factors) with arbitrary
+numbers of levels, continuous variables, and combinations thereof.  Implements
+the machinery described in the paper \"Learning interactions via hierarchical
+group-lasso regularization\" (JCGS 2015, Volume 24, Issue 3).
+Michael Lim & Trevor Hastie (2015)")
+    (license license:gpl2)))



reply via email to

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