* [bug#72841] [PATCH] gnu: Add r-mlmetrics.
@ 2024-08-27 20:22 King, Spencer via Guix-patches via
0 siblings, 0 replies; only message in thread
From: King, Spencer via Guix-patches via @ 2024-08-27 20:22 UTC (permalink / raw)
To: 72841
[-- Attachment #1: Type: text/plain, Size: 0 bytes --]
[-- Attachment #2: 0001-gnu-Add-r-mlmetrics.patch --]
[-- Type: application/octet-stream, Size: 2191 bytes --]
From 8e20b9e192d5e7544e8c7bbec7d7dd3108e91e2e Mon Sep 17 00:00:00 2001
Message-Id: <8e20b9e192d5e7544e8c7bbec7d7dd3108e91e2e.1724789992.git.spencer.king@geneoscopy.com>
From: Spencer King <spencer.king@geneoscopy.com>
Date: Tue, 27 Aug 2024 20:02:22 +0000
Subject: [PATCH] gnu: Add r-mlmetrics.
* gnu/packages/statistics.scm (r-mlmetrics): New variable.
Change-Id: Idfc86a27ea3dd37844b42eab6c1e10c9c4d13976
---
gnu/packages/statistics.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index d8cfbcb8a4..f829553751 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -1,3 +1,4 @@
+
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2015-2024 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2015 Vicente Vera Parra <vicentemvp@gmail.com>
@@ -21,6 +22,7 @@
;;; Copyright © 2023 Felix Gruber <felgru@posteo.net>
;;; Copyright © 2023 Troy Figiel <troy@troyfigiel.com>
;;; Copyright © 2024 Vinicius Monego <monego@posteo.net>
+;;; Copyright © 2024 Spencer King <spencer.king@geneoscopy.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -6018,6 +6020,27 @@ (define-public r-modelmetrics
metrics for evaluating models.")
(license license:gpl2+)))
+(define-public r-mlmetrics
+ (package
+ (name "r-mlmetrics")
+ (version "1.1.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "MLmetrics" version))
+ (sha256
+ (base32 "11dgpw6lzs3vrfa3v9kf8x2rph3vpicxbw5af89afa175by3amrc"))))
+ (properties `((upstream-name . "MLmetrics")))
+ (build-system r-build-system)
+ (propagated-inputs (list r-rocr))
+ (home-page "https://github.com/yanyachen/MLmetrics")
+ (synopsis "Machine Learning Evaluation Metrics")
+ (description
+ "This package provides a collection of evaluation metrics, including loss, score
+and utility functions, that measure regression, classification and ranking
+performance.")
+ (license license:gpl2)))
+
(define-public r-matrixmodels
(package
(name "r-matrixmodels")
base-commit: dc97d577357e55f705ebfdfd455de49d72ee52c0
--
2.34.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2024-08-27 20:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-27 20:22 [bug#72841] [PATCH] gnu: Add r-mlmetrics King, Spencer via Guix-patches via
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.