gnu: Add r-fnn.

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

Signed-off-by: Ben Woodcroft <donttrustben@gmail.com>
This commit is contained in:
Raoul Jean Pierre Bonnal 2017-03-11 11:55:28 +10:00 committed by Ben Woodcroft
parent 7711f61450
commit e08ad76658
No known key found for this signature in database
GPG key ID: 2A6AD9F4AAC20DF6

View file

@ -4421,3 +4421,24 @@ (define-public r-pbapply
functions apply. The implementation can easily be added to functions where
showing the progress is useful e.g. bootstrap.")
(license license:gpl2)))
(define-public r-fnn
(package
(name "r-fnn")
(version "1.1")
(source
(origin
(method url-fetch)
(uri (cran-uri "FNN" version))
(sha256
(base32
"1kncmiaraq1mrykb9fj3fsxswabk3l71fnp1vks0x9aay5xfk8mj"))))
(properties `((upstream-name . "FNN")))
(build-system r-build-system)
(home-page "http://cran.r-project.org/web/packages/FNN")
(synopsis "Fast nearest neighbor search algorithms and applications")
(description
"This package provides cover-tree and kd-tree fast k-nearest neighbor
search algorithms and related applications including KNN classification,
regression and information measures.")
(license license:gpl2+)))