guix-devel
[Top][All Lists]
Advanced

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

[PATCH] gnu: Add r-randomforest.


From: Ra
Subject: [PATCH] gnu: Add r-randomforest.
Date: Thu, 12 Jan 2017 16:44:36 +0000

    * gnu/packages/statistics.scm (r-randomforest): 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 40a511b..f5041a8 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -3979,3 +3979,26 @@ generalized linear model functions that implement secure convergence,
 dispersion modeling and Tweedie power-law families.")
     ;; Statmod is distributed under either license
     (license (list license:gpl2 license:gpl3))))
+
+(define-public r-randomforest
+  (package
+    (name "r-randomforest")
+    (version "4.6-12")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "randomForest" version))
+       (sha256
+        (base32
+         "1i43idaihhl6nwqw42v9dqpl6f8z3ykcn2in32lh2755i27jylbf"))))
+    (properties `((upstream-name . "randomForest")))
+    (build-system r-build-system)
+    (home-page "https://www.stat.berkeley.edu/~breiman/RandomForests/")
+    (native-inputs
+     `(("gfortran" ,gfortran)))
+    (synopsis
+     "Breiman and Cutler's random forests for classification and regression")
+    (description
+     "This package provides algorithm for classification and regression based
+on a forest of trees using random inputs.")
+    (license license:gpl2+)))
--
1.9.1

Attachment: 0001-gnu-Add-r-randomforest.patch
Description: Binary data


reply via email to

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