From a74f85407403c62890be672ac4b6f4ceac15c4a0 Mon Sep 17 00:00:00 2001 From: Peter Lo Date: Sun, 28 Jun 2020 16:01:17 +0800 Subject: gnu: Add r-metrics. * gnu/packages/cran.scm (r-metrics): New variable. Signed-off-by: Ricardo Wurmus --- gnu/packages/cran.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 1d49e4971a..f371e5f973 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -22663,3 +22663,26 @@ help to explain the predictions from any black box model using ideas from game theory; see @url{Strumbel and Kononenko (2014), doi.org/10.1007/s10115-013-0679-x} for details.") (license license:gpl2+))) + +(define-public r-metrics + (package + (name "r-metrics") + (version "0.1.4") + (source + (origin + (method url-fetch) + (uri (cran-uri "Metrics" version)) + (sha256 + (base32 + "0fh8qbjlwzagh272lgwr4bxcqcjb1qpz53mgs8rzlvncax6nk5bk")))) + (properties `((upstream-name . "Metrics"))) + (build-system r-build-system) + (home-page "https://github.com/mfrasco/Metrics") + (synopsis "Evaluation metrics for machine learning") + (description + "This package provides an implementation of evaluation metrics in R that +are commonly used in supervised machine learning. It implements metrics for +regression, time series, binary classification, classification, and +information retrieval problems. It has zero dependencies and a consistent, +simple interface for all functions.") + (license license:bsd-3))) -- cgit v1.2.3