diff options
author | Peter Lo <peterloleungyau@gmail.com> | 2020-06-28 16:01:17 +0800 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2020-08-04 23:06:59 +0200 |
commit | a74f85407403c62890be672ac4b6f4ceac15c4a0 (patch) | |
tree | d3539c5b3b9fedd21bf528f44886b65dcb10e4c9 | |
parent | 1f96a29ec35985f19203976889eb7107624e7000 (diff) | |
download | guix-patches-a74f85407403c62890be672ac4b6f4ceac15c4a0.tar guix-patches-a74f85407403c62890be672ac4b6f4ceac15c4a0.tar.gz |
gnu: Add r-metrics.
* gnu/packages/cran.scm (r-metrics): New variable.
Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
-rw-r--r-- | gnu/packages/cran.scm | 23 |
1 files changed, 23 insertions, 0 deletions
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))) |