unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] gnu: Add r-randomforest.
@ 2017-01-12 16:44 Ra
  0 siblings, 0 replies; 5+ messages in thread
From: Ra @ 2017-01-12 16:44 UTC (permalink / raw)
  To: guix-devel


[-- 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


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH] gnu: Add r-randomforest.
@ 2017-02-03  7:55 Raoul Bonnal
  2017-02-03 17:36 ` Kei Kebreau
  0 siblings, 1 reply; 5+ messages in thread
From: Raoul Bonnal @ 2017-02-03  7:55 UTC (permalink / raw)
  To: guix-devel

From: Raoul Jean Pierre Bonnal <ilpuccio.febo@gmail.com>

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

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 596c2baf5..de934ff08 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -6,7 +6,7 @@
 ;;; Copyright © 2016 Pjotr Prins <pjotr.guix@thebird.nl>
 ;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
 ;;; Copyright © 2016 Ben Woodcroft <donttrustben@gmail.com>
-;;; Copyright © 2016 Raoul Bonnal <ilpuccio.febo@gmail.com>
+;;; Copyright © 2017 Raoul Bonnal <ilpuccio.febo@gmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -4145,3 +4145,25 @@ regression.")
 perform @dfn{independent component analysis} (ICA) and projection pursuit.")
     ;; Any GPL version.
     (license 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+)))
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH] gnu: Add r-randomforest.
  2017-02-03  7:55 Raoul Bonnal
@ 2017-02-03 17:36 ` Kei Kebreau
  2017-02-03 18:50   ` Raoul Bonnal
  0 siblings, 1 reply; 5+ messages in thread
From: Kei Kebreau @ 2017-02-03 17:36 UTC (permalink / raw)
  To: Raoul Bonnal; +Cc: guix-devel

[-- Attachment #1: Type: text/plain, Size: 2186 bytes --]

Raoul Bonnal <ilpuccio.febo@gmail.com> writes:

> From: Raoul Jean Pierre Bonnal <ilpuccio.febo@gmail.com>
>
> * gnu/packages/statistics.scm (r-randomforest): New variable.
> ---
>  gnu/packages/statistics.scm | 24 +++++++++++++++++++++++-
>  1 file changed, 23 insertions(+), 1 deletion(-)
>
> diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
> index 596c2baf5..de934ff08 100644
> --- a/gnu/packages/statistics.scm
> +++ b/gnu/packages/statistics.scm
> @@ -6,7 +6,7 @@
>  ;;; Copyright © 2016 Pjotr Prins <pjotr.guix@thebird.nl>
>  ;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
>  ;;; Copyright © 2016 Ben Woodcroft <donttrustben@gmail.com>
> -;;; Copyright © 2016 Raoul Bonnal <ilpuccio.febo@gmail.com>
> +;;; Copyright © 2017 Raoul Bonnal <ilpuccio.febo@gmail.com>

You don't have to remove the old copyright statement. Just add the
current year to the list, like so:

;;; Copyright © 2016, 2017 Raoul Bonnal <ilpuccio.febo@gmail.com>

>  ;;;
>  ;;; This file is part of GNU Guix.
>  ;;;
> @@ -4145,3 +4145,25 @@ regression.")
>  perform @dfn{independent component analysis} (ICA) and projection pursuit.")
>      ;; Any GPL version.
>      (license 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

This package provides "an algorithm" or "algorithms"?

> +of trees using random inputs.")
> +    (license license:gpl2+)))

This patch will be good with the above changes.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH] gnu: Add r-randomforest.
  2017-02-03 17:36 ` Kei Kebreau
@ 2017-02-03 18:50   ` Raoul Bonnal
  2017-02-03 19:14     ` Kei Kebreau
  0 siblings, 1 reply; 5+ messages in thread
From: Raoul Bonnal @ 2017-02-03 18:50 UTC (permalink / raw)
  To: Kei Kebreau; +Cc: guix-devel

From: Raoul Jean Pierre Bonnal <ilpuccio.febo@gmail.com>

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

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 596c2baf5..80f0b99b8 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -6,7 +6,7 @@
 ;;; Copyright © 2016 Pjotr Prins <pjotr.guix@thebird.nl>
 ;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
 ;;; Copyright © 2016 Ben Woodcroft <donttrustben@gmail.com>
-;;; Copyright © 2016 Raoul Bonnal <ilpuccio.febo@gmail.com>
+;;; Copyright © 2016, 2017 Raoul Bonnal <ilpuccio.febo@gmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -4145,3 +4145,25 @@ regression.")
 perform @dfn{independent component analysis} (ICA) and projection pursuit.")
     ;; Any GPL version.
     (license 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 the Breiman and Cutler's random forests algorithm, based on a
+forest of trees using random inputs, for classification and regression.")
+    (license license:gpl2+)))
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH] gnu: Add r-randomforest.
  2017-02-03 18:50   ` Raoul Bonnal
@ 2017-02-03 19:14     ` Kei Kebreau
  0 siblings, 0 replies; 5+ messages in thread
From: Kei Kebreau @ 2017-02-03 19:14 UTC (permalink / raw)
  To: Raoul Bonnal; +Cc: guix-devel

[-- Attachment #1: Type: text/plain, Size: 2015 bytes --]

Raoul Bonnal <ilpuccio.febo@gmail.com> writes:

> From: Raoul Jean Pierre Bonnal <ilpuccio.febo@gmail.com>
>
> * gnu/packages/statistics.scm (r-randomforest): New variable.
> ---
>  gnu/packages/statistics.scm | 24 +++++++++++++++++++++++-
>  1 file changed, 23 insertions(+), 1 deletion(-)
>
> diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
> index 596c2baf5..80f0b99b8 100644
> --- a/gnu/packages/statistics.scm
> +++ b/gnu/packages/statistics.scm
> @@ -6,7 +6,7 @@
>  ;;; Copyright © 2016 Pjotr Prins <pjotr.guix@thebird.nl>
>  ;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
>  ;;; Copyright © 2016 Ben Woodcroft <donttrustben@gmail.com>
> -;;; Copyright © 2016 Raoul Bonnal <ilpuccio.febo@gmail.com>
> +;;; Copyright © 2016, 2017 Raoul Bonnal <ilpuccio.febo@gmail.com>
>  ;;;
>  ;;; This file is part of GNU Guix.
>  ;;;
> @@ -4145,3 +4145,25 @@ regression.")
>  perform @dfn{independent component analysis} (ICA) and projection pursuit.")
>      ;; Any GPL version.
>      (license 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 the Breiman and Cutler's random forests algorithm, based on a
> +forest of trees using random inputs, for classification and regression.")
> +    (license license:gpl2+)))

Thanks! Pushed to master as 37337699d7d6069ccd38aae6cc25bdbf4a6e56fc.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-02-03 19:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-12 16:44 [PATCH] gnu: Add r-randomforest Ra
  -- strict thread matches above, loose matches on Subject: below --
2017-02-03  7:55 Raoul Bonnal
2017-02-03 17:36 ` Kei Kebreau
2017-02-03 18:50   ` Raoul Bonnal
2017-02-03 19:14     ` Kei Kebreau

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).