gnu: Add r-metrics.

* gnu/packages/cran.scm (r-metrics): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
This commit is contained in:
Peter Lo 2020-06-28 16:01:17 +08:00 committed by Ricardo Wurmus
parent 1f96a29ec3
commit a74f854074
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -22663,3 +22663,26 @@ (define-public r-fastshap
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)))