gnu: Add r-randomforest.

* gnu/packages/statistics.scm (r-randomforest): New variable.

Signed-off-by: Kei Kebreau <kei@openmailbox.org>
This commit is contained in:
Raoul Jean Pierre Bonnal 2017-02-03 19:50:00 +01:00 committed by Kei Kebreau
parent f2de078a10
commit 37337699d7
No known key found for this signature in database
GPG Key ID: E6A5EE3C19467A0D
1 changed files with 23 additions and 1 deletions

View File

@ -6,7 +6,7 @@
;;; Copyright © 2016 Pjotr Prins <pjotr.guix@thebird.nl> ;;; Copyright © 2016 Pjotr Prins <pjotr.guix@thebird.nl>
;;; Copyright © 2016 Roel Janssen <roel@gnu.org> ;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
;;; Copyright © 2016 Ben Woodcroft <donttrustben@gmail.com> ;;; 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. ;;; This file is part of GNU Guix.
;;; ;;;
@ -4145,3 +4145,25 @@ regression.")
perform @dfn{independent component analysis} (ICA) and projection pursuit.") perform @dfn{independent component analysis} (ICA) and projection pursuit.")
;; Any GPL version. ;; Any GPL version.
(license license:gpl3+))) (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+)))