[bug#42104,1/2] gnu: Add r-metrics.
diff mbox series

Message ID 20200628080118.9269-1-peterloleungyau@gmail.com
State New
Headers show
  • [bug#42104,1/2] gnu: Add r-metrics.
Related show


Context Check Description
cbaines/applying patch fail View Laminar job

Commit Message

Peter Lo June 28, 2020, 8:01 a.m. UTC
* gnu/packages/cran.scm (r-metrics): New variable.
 gnu/packages/cran.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff mbox series

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index ab5e57c0e2..ec290d4b69 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -22325,3 +22325,27 @@  across a wide array of bioinformatic R packages.")
 and clustering large sequence datasets using fast alignment-free k-mer
 counting and recursive k-means partitioning.")
     (license license:gpl3)))
+(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
+      "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)))