guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

10/265: gnu: Add r-knn-covertree.


From: guix-commits
Subject: 10/265: gnu: Add r-knn-covertree.
Date: Sun, 15 Dec 2019 09:39:53 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit 257b3b812ce5ef605090c079e6e59cb5383a2100
Author: Ricardo Wurmus <address@hidden>
Date:   Sat Dec 14 19:34:06 2019 +0100

    gnu: Add r-knn-covertree.
    
    * gnu/packages/cran.scm (r-knn-covertree): New variable.
---
 gnu/packages/cran.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 3190cee..349ea62 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -18734,3 +18734,29 @@ which functions similar to its singular form, but 
allows the use of multiple
 statistics per bin.  Those statistics can be mapped to multiple bin
 aesthetics.")
     (license license:gpl3)))
+
+(define-public r-knn-covertree
+  (package
+    (name "r-knn-covertree")
+    (version "1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "knn.covertree" version))
+       (sha256
+        (base32
+         "0msfcmwydws7q7m5jdb0dxab0nkbl7mq5llg6v3r4qrnlvrdggvz"))))
+    (properties `((upstream-name . "knn.covertree")))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-matrix" ,r-matrix)
+       ("r-rcpp" ,r-rcpp)
+       ("r-rcppeigen" ,r-rcppeigen)))
+    (home-page "https://github.com/flying-sheep/knn.covertree";)
+    (synopsis "Accurate kNN Implementation with multiple distance measures")
+    (description
+     "Similarly to the FNN package, this package allows calculation of the k
+nearest neighbors (kNN) of a data matrix.  The implementation is based on
+cover trees introduced by Alina Beygelzimer, Sham Kakade, and John
+Langford (2006) @url{doi:10.1145/1143844.1143857}.")
+    (license license:agpl3+)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]