From mboxrd@z Thu Jan 1 00:00:00 1970 From: Raoul Bonnal Subject: [PATCH 18/35] gnu: Add r-fnn. Date: Thu, 19 Jan 2017 19:55:13 +0100 Message-ID: <20170119185530.35824-18-ilpuccio.febo@gmail.com> References: <20170119185530.35824-1-ilpuccio.febo@gmail.com> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35584) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cUHse-0005zZ-0F for guix-devel@gnu.org; Thu, 19 Jan 2017 13:56:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cUHsb-0004dl-Pa for guix-devel@gnu.org; Thu, 19 Jan 2017 13:56:16 -0500 Received: from mail-wm0-x242.google.com ([2a00:1450:400c:c09::242]:36742) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cUHsb-0004dN-JS for guix-devel@gnu.org; Thu, 19 Jan 2017 13:56:13 -0500 Received: by mail-wm0-x242.google.com with SMTP id r126so1046685wmr.3 for ; Thu, 19 Jan 2017 10:56:13 -0800 (PST) In-Reply-To: <20170119185530.35824-1-ilpuccio.febo@gmail.com> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org From: Raoul Jean Pierre Bonnal * gnu/packages/statistics.scm (r-fnn): New variable. --- gnu/packages/statistics.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index 862292f..9a26114 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -4430,3 +4430,24 @@ VGLMs can be loosely thought of as multivariate GLMs.") to vectorized R 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+))) -- 1.9.1