guix-commits
[Top][All Lists]
Advanced

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

09/13: gnu: Add r-superlearner.


From: guix-commits
Subject: 09/13: gnu: Add r-superlearner.
Date: Tue, 7 Sep 2021 08:11:50 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit 84392227e3e6646d2c01f08dcb774f30cbda10a1
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue Sep 7 13:27:15 2021 +0200

    gnu: Add r-superlearner.
    
    * gnu/packages/cran.scm (r-superlearner): New variable.
---
 gnu/packages/cran.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 16310b6..23760bc 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -9735,6 +9735,32 @@ S\" (Chambers and Hastie (eds), 1991), and \"Generalized 
Additive
 Models\" (Hastie and Tibshirani, 1990).")
     (license license:gpl2)))
 
+(define-public r-superlearner
+  (package
+    (name "r-superlearner")
+    (version "2.0-28")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "SuperLearner" version))
+       (sha256
+        (base32
+         "00any24msgflyagy87nznpfjz5g9v15frqda6c679wa8plx26hjz"))))
+    (properties `((upstream-name . "SuperLearner")))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-cvauc" ,r-cvauc)
+       ("r-gam" ,r-gam)
+       ("r-nnls" ,r-nnls)))
+    (native-inputs
+     `(("r-knitr" ,r-knitr)))
+    (home-page "https://github.com/ecpolley/SuperLearner";)
+    (synopsis "Super learner prediction")
+    (description
+     "This package implements the super learner prediction method and contains
+a library of prediction algorithms to be used in the super learner.")
+    (license license:gpl3)))
+
 (define-public r-mosaiccore
   (package
     (name "r-mosaiccore")



reply via email to

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