From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ra Subject: [PATCH] gnu: Add r-randomforest. Date: Thu, 12 Jan 2017 16:44:36 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=94eb2c065a006547bb0545e86f9e Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51096) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cRiUf-0000Dw-6f for guix-devel@gnu.org; Thu, 12 Jan 2017 11:44:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cRiUa-0000qM-9m for guix-devel@gnu.org; Thu, 12 Jan 2017 11:44:53 -0500 Received: from mail-qk0-x234.google.com ([2607:f8b0:400d:c09::234]:36044) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cRiUa-0000qC-4w for guix-devel@gnu.org; Thu, 12 Jan 2017 11:44:48 -0500 Received: by mail-qk0-x234.google.com with SMTP id 11so26276325qkl.3 for ; Thu, 12 Jan 2017 08:44:48 -0800 (PST) List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel --94eb2c065a006547bb0545e86f9e Content-Type: multipart/alternative; boundary=94eb2c065a006547b60545e86f9c --94eb2c065a006547b60545e86f9c Content-Type: text/plain; charset=UTF-8 * 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 --94eb2c065a006547b60545e86f9c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
=C2=A0 =C2=A0 * gnu/packages/statistics.scm (r-random= forest): New variable.
---
=C2=A0gnu/packages/statistic= s.scm | 23 +++++++++++++++++++++++
=C2=A01 file changed, 23 inser= tions(+)

diff --git a/gnu/packages/statistics.scm = b/gnu/packages/statistics.scm
index 40a511b..f5041a8 100644
=
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statist= ics.scm
@@ -3979,3 +3979,26 @@ generalized linear model functions= that implement secure convergence,
=C2=A0dispersion modeling and= Tweedie power-law families.")
=C2=A0 =C2=A0 =C2=A0;; Statmo= d is distributed under either license
=C2=A0 =C2=A0 =C2=A0(licens= e (list license:gpl2 license:gpl3))))
+
+(define-public= r-randomforest
+ =C2=A0(package
+ =C2=A0 =C2=A0(name &= quot;r-randomforest")
+ =C2=A0 =C2=A0(version "4.6-12&q= uot;)
+ =C2=A0 =C2=A0(source
+ =C2=A0 =C2=A0 (origin
+ =C2=A0 =C2=A0 =C2=A0 (method url-fetch)
+ =C2=A0 =C2=A0= =C2=A0 (uri (cran-uri "randomForest" version))
+ =C2= =A0 =C2=A0 =C2=A0 (sha256
+ =C2=A0 =C2=A0 =C2=A0 =C2=A0(base32
+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 "1i43idaihhl6nwqw42v9dqpl6f8z3yk= cn2in32lh2755i27jylbf"))))
+ =C2=A0 =C2=A0(properties `((ups= tream-name . "randomForest")))
+ =C2=A0 =C2=A0(build-sy= stem r-build-system)
+ =C2=A0 =C2=A0(nativ= e-inputs
+ =C2=A0 =C2=A0 `(("gfortran" ,gfortran)))
+ =C2=A0 =C2=A0(synopsis
+ =C2=A0 =C2=A0 "Breiman and= Cutler's random forests for classification and regression")
=
+ =C2=A0 =C2=A0(description
+ =C2=A0 =C2=A0 "This packa= ge provides algorithm for classification and regression based
+on= a forest of trees using random inputs.")
+ =C2=A0 =C2=A0(li= cense license:gpl2+)))
--
1.9.1
--94eb2c065a006547b60545e86f9c-- --94eb2c065a006547bb0545e86f9e Content-Type: application/octet-stream; name="0001-gnu-Add-r-randomforest.patch" Content-Disposition: attachment; filename="0001-gnu-Add-r-randomforest.patch" Content-Transfer-Encoding: base64 Content-ID: <15993910c918e87c94c1> X-Attachment-Id: 15993910c918e87c94c1 RnJvbSA3ZmU0MDY0NjczMzk5NGYwNmI0OTBmODU0ZGQ4YWI1Y2E3NTMyNzBiIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBSYW91bCBKZWFuIFBpZXJyZSBCb25uYWwgPGlscHVjY2lvLmZl Ym9AZ21haWwuY29tPgpEYXRlOiBUaHUsIDEyIEphbiAyMDE3IDE3OjQyOjA4ICswMTAwClN1Ympl Y3Q6IFtQQVRDSF0gZ251OiBBZGQgci1yYW5kb21mb3Jlc3QuCgogICAgKiBnbnUvcGFja2FnZXMv c3RhdGlzdGljcy5zY20gKHItcmFuZG9tZm9yZXN0KTogTmV3IHZhcmlhYmxlLgotLS0KIGdudS9w YWNrYWdlcy9zdGF0aXN0aWNzLnNjbSB8IDIzICsrKysrKysrKysrKysrKysrKysrKysrCiAxIGZp bGUgY2hhbmdlZCwgMjMgaW5zZXJ0aW9ucygrKQoKZGlmZiAtLWdpdCBhL2dudS9wYWNrYWdlcy9z dGF0aXN0aWNzLnNjbSBiL2dudS9wYWNrY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