guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#42104] [PATCH 1/2] gnu: Add r-metrics.


From: Peter Lo
Subject: [bug#42104] [PATCH 1/2] gnu: Add r-metrics.
Date: Sun, 28 Jun 2020 16:01:17 +0800

* gnu/packages/cran.scm (r-metrics): New variable.
---
 gnu/packages/cran.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

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)))
-- 
2.17.1






reply via email to

[Prev in Thread] Current Thread [Next in Thread]