[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] gnu: Add r-randomforest.
From: |
Kei Kebreau |
Subject: |
Re: [PATCH] gnu: Add r-randomforest. |
Date: |
Fri, 03 Feb 2017 12:36:00 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
Raoul Bonnal <address@hidden> writes:
> From: Raoul Jean Pierre Bonnal <address@hidden>
>
> * 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 <address@hidden>
> ;;; Copyright © 2016 Roel Janssen <address@hidden>
> ;;; Copyright © 2016 Ben Woodcroft <address@hidden>
> -;;; Copyright © 2016 Raoul Bonnal <address@hidden>
> +;;; Copyright © 2017 Raoul Bonnal <address@hidden>
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 <address@hidden>
> ;;;
> ;;; 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.
signature.asc
Description: PGP signature