unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Ra <ilpuccio.febo@gmail.com>
To: guix-devel <guix-devel@gnu.org>
Subject: [PATCH] gnu: Add r-randomforest.
Date: Thu, 12 Jan 2017 16:44:36 +0000	[thread overview]
Message-ID: <CACQsWTPwC+V24PV2e9Qow5GaffaOYvOiPLdFR6H_r7ctuCN0Zw@mail.gmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1375 bytes --]

    * 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 #1.2: Type: text/html, Size: 2006 bytes --]

[-- Attachment #2: 0001-gnu-Add-r-randomforest.patch --]
[-- Type: application/octet-stream, Size: 1586 bytes --]

From 7fe40646733994f06b490f854dd8ab5ca753270b Mon Sep 17 00:00:00 2001
From: Raoul Jean Pierre Bonnal <ilpuccio.febo@gmail.com>
Date: Thu, 12 Jan 2017 17:42:08 +0100
Subject: [PATCH] gnu: Add r-randomforest.

    * 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


             reply	other threads:[~2017-01-12 16:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-12 16:44 Ra [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-02-03  7:55 [PATCH] gnu: Add r-randomforest Raoul Bonnal
2017-02-03 17:36 ` Kei Kebreau
2017-02-03 18:50   ` Raoul Bonnal
2017-02-03 19:14     ` Kei Kebreau

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CACQsWTPwC+V24PV2e9Qow5GaffaOYvOiPLdFR6H_r7ctuCN0Zw@mail.gmail.com \
    --to=ilpuccio.febo@gmail.com \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).