* [bug#69441] [PATCH] gnu: Add python-mord.
@ 2024-02-27 22:10 King, Spencer via Guix-patches via
2024-02-28 13:22 ` Ekaitz Zarraga
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: King, Spencer via Guix-patches via @ 2024-02-27 22:10 UTC (permalink / raw)
To: 69441; +Cc: ekaitz@elenq.tech
[-- Attachment #1: Type: text/plain, Size: 0 bytes --]
[-- Attachment #2: 0001-gnu-Add-python-mord.patch --]
[-- Type: application/octet-stream, Size: 2169 bytes --]
From 82045bde727ae3f67c36dd19c66adb5403fbc897 Mon Sep 17 00:00:00 2001
Message-Id: <82045bde727ae3f67c36dd19c66adb5403fbc897.1709071481.git.spencer.king@geneoscopy.com>
From: Spencer King <spencer.king@geneoscopy.com>
Date: Tue, 27 Feb 2024 22:03:12 +0000
Subject: [PATCH] gnu: Add python-mord.
* gnu/packages/machine-learning.scm (python-mord): New variable.
Change-Id: I1a495fece72a0b998a69cb518544ed8835b12a40
---
gnu/packages/machine-learning.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm
index 2e20872555..a4c8acaa8a 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -25,6 +25,7 @@
;;; Copyright © 2023 Troy Figiel <troy@troyfigiel.com>
;;; Copyright © 2024 Sharlatan Hellseher <sharlatanus@gmail.com>
;;; Copyright © 2024 David Pflug <david@pflug.io>
+;;; Copyright © 2024 Spencer King <spencer.king@geneoscopy.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -1781,6 +1782,31 @@ (define-public python-scikit-learn-extra
citation number.")
(license license:bsd-3))))
+(define-public python-mord
+ (package
+ (name "python-mord")
+ (version "0.7")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "mord" version))
+ (sha256
+ (base32 "1cvv9b9w69v0inq0zgcw0vmkiq3zn9q9r6clkynpzjik9rrh405n"))))
+ (build-system pyproject-build-system)
+ ;; v0.7 does not provide any test cases
+ ;; v0.6 relies on deprecated scikit-learn functionality
+ (arguments
+ (list
+ #:tests? #f))
+ (inputs (list python-numpy python-scipy python-scikit-learn))
+ (home-page "https://pypi.org/project/mord/")
+ (synopsis "Ordinal regression models for scikit-learn")
+ (description
+ "This package provides a collection of ordinal regression models for
+machine learning in Python. They are intended to be used with scikit-learn
+and are compatible with its API.")
+ (license license:bsd-3)))
+
(define-public python-thinc
(package
(name "python-thinc")
base-commit: bb4f0509b7cce750fc944e604aa919ea89910ea7
--
2.34.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [bug#69441] [PATCH] gnu: Add python-mord.
2024-02-27 22:10 [bug#69441] [PATCH] gnu: Add python-mord King, Spencer via Guix-patches via
@ 2024-02-28 13:22 ` Ekaitz Zarraga
2024-02-28 13:24 ` Ekaitz Zarraga
2024-02-28 13:44 ` [bug#69441] QA review for 69441 Ekaitz Zarraga
2 siblings, 0 replies; 6+ messages in thread
From: Ekaitz Zarraga @ 2024-02-28 13:22 UTC (permalink / raw)
To: 69441; +Cc: Spencer King
From: Spencer King <spencer.king@geneoscopy.com>
* gnu/packages/machine-learning.scm (python-mord): New variable.
Change-Id: I1a495fece72a0b998a69cb518544ed8835b12a40
---
gnu/packages/machine-learning.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm
index 6e94e21f3e..e758132d31 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -26,6 +26,7 @@
;;; Copyright © 2024 Sharlatan Hellseher <sharlatanus@gmail.com>
;;; Copyright © 2024 David Pflug <david@pflug.io>
;;; Copyright © 2024 Timothee Mathieu <timothee.mathieu@inria.fr>
+;;; Copyright © 2024 Spencer King <spencer.king@geneoscopy.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -1782,6 +1783,29 @@ (define-public python-scikit-learn-extra
citation number.")
(license license:bsd-3))))
+(define-public python-mord
+ (package
+ (name "python-mord")
+ (version "0.7")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "mord" version))
+ (sha256
+ (base32 "1cvv9b9w69v0inq0zgcw0vmkiq3zn9q9r6clkynpzjik9rrh405n"))))
+ (build-system pyproject-build-system)
+ ;; v0.7 does not provide any test cases
+ ;; v0.6 relies on deprecated scikit-learn functionality
+ (arguments `(#:tests? #f))
+ (inputs (list python-numpy python-scipy python-scikit-learn))
+ (home-page "https://pypi.org/project/mord/")
+ (synopsis "Ordinal regression models for scikit-learn")
+ (description
+ "This package provides a collection of ordinal regression models for
+machine learning in Python. They are intended to be used with scikit-learn
+and are compatible with its API.")
+ (license license:bsd-3)))
+
(define-public python-thinc
(package
(name "python-thinc")
base-commit: f29f80c194d0c534a92354b2bc19022a9b70ecf8
--
2.41.0
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [bug#69441] [PATCH] gnu: Add python-mord.
2024-02-27 22:10 [bug#69441] [PATCH] gnu: Add python-mord King, Spencer via Guix-patches via
2024-02-28 13:22 ` Ekaitz Zarraga
@ 2024-02-28 13:24 ` Ekaitz Zarraga
2024-02-28 13:38 ` Ekaitz Zarraga
2024-02-28 13:44 ` [bug#69441] QA review for 69441 Ekaitz Zarraga
2 siblings, 1 reply; 6+ messages in thread
From: Ekaitz Zarraga @ 2024-02-28 13:24 UTC (permalink / raw)
To: 69441
I made a minor change and rebased to current `master`.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [bug#69441] [PATCH] gnu: Add python-mord.
2024-02-28 13:24 ` Ekaitz Zarraga
@ 2024-02-28 13:38 ` Ekaitz Zarraga
2024-03-02 16:00 ` bug#69441: " Ludovic Courtès
0 siblings, 1 reply; 6+ messages in thread
From: Ekaitz Zarraga @ 2024-02-28 13:38 UTC (permalink / raw)
To: 69441; +Cc: spencer.king@geneoscopy.com
[-- Attachment #1: Type: text/plain, Size: 126 bytes --]
LoL I forgot to attach.
On 2024-02-28 14:24, Ekaitz Zarraga wrote:
> I made a minor change and rebased to current `master`.
[-- Attachment #2: 0001-gnu-Add-python-mord.patch --]
[-- Type: text/x-patch, Size: 2151 bytes --]
From ddba870c692e17ef25f98ce660072c67184d6e49 Mon Sep 17 00:00:00 2001
Message-ID: <ddba870c692e17ef25f98ce660072c67184d6e49.1709127412.git.ekaitz@elenq.tech>
From: Spencer King <spencer.king@geneoscopy.com>
Date: Tue, 27 Feb 2024 22:03:12 +0000
Subject: [PATCH] gnu: Add python-mord.
* gnu/packages/machine-learning.scm (python-mord): New variable.
Change-Id: I1a495fece72a0b998a69cb518544ed8835b12a40
---
gnu/packages/machine-learning.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm
index 6e94e21f3e..e758132d31 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -26,6 +26,7 @@
;;; Copyright © 2024 Sharlatan Hellseher <sharlatanus@gmail.com>
;;; Copyright © 2024 David Pflug <david@pflug.io>
;;; Copyright © 2024 Timothee Mathieu <timothee.mathieu@inria.fr>
+;;; Copyright © 2024 Spencer King <spencer.king@geneoscopy.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -1782,6 +1783,29 @@ (define-public python-scikit-learn-extra
citation number.")
(license license:bsd-3))))
+(define-public python-mord
+ (package
+ (name "python-mord")
+ (version "0.7")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "mord" version))
+ (sha256
+ (base32 "1cvv9b9w69v0inq0zgcw0vmkiq3zn9q9r6clkynpzjik9rrh405n"))))
+ (build-system pyproject-build-system)
+ ;; v0.7 does not provide any test cases
+ ;; v0.6 relies on deprecated scikit-learn functionality
+ (arguments `(#:tests? #f))
+ (inputs (list python-numpy python-scipy python-scikit-learn))
+ (home-page "https://pypi.org/project/mord/")
+ (synopsis "Ordinal regression models for scikit-learn")
+ (description
+ "This package provides a collection of ordinal regression models for
+machine learning in Python. They are intended to be used with scikit-learn
+and are compatible with its API.")
+ (license license:bsd-3)))
+
(define-public python-thinc
(package
(name "python-thinc")
base-commit: f29f80c194d0c534a92354b2bc19022a9b70ecf8
--
2.41.0
^ permalink raw reply related [flat|nested] 6+ messages in thread
* bug#69441: [PATCH] gnu: Add python-mord.
2024-02-28 13:38 ` Ekaitz Zarraga
@ 2024-03-02 16:00 ` Ludovic Courtès
0 siblings, 0 replies; 6+ messages in thread
From: Ludovic Courtès @ 2024-03-02 16:00 UTC (permalink / raw)
To: Ekaitz Zarraga; +Cc: 69441-done, spencer.king@geneoscopy.com
Hi,
Ekaitz Zarraga <ekaitz@elenq.tech> skribis:
> From ddba870c692e17ef25f98ce660072c67184d6e49 Mon Sep 17 00:00:00 2001
> Message-ID: <ddba870c692e17ef25f98ce660072c67184d6e49.1709127412.git.ekaitz@elenq.tech>
> From: Spencer King <spencer.king@geneoscopy.com>
> Date: Tue, 27 Feb 2024 22:03:12 +0000
> Subject: [PATCH] gnu: Add python-mord.
>
> * gnu/packages/machine-learning.scm (python-mord): New variable.
>
> Change-Id: I1a495fece72a0b998a69cb518544ed8835b12a40
Thanks to both of you, applied!
Ludo’.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [bug#69441] QA review for 69441
2024-02-27 22:10 [bug#69441] [PATCH] gnu: Add python-mord King, Spencer via Guix-patches via
2024-02-28 13:22 ` Ekaitz Zarraga
2024-02-28 13:24 ` Ekaitz Zarraga
@ 2024-02-28 13:44 ` Ekaitz Zarraga
2 siblings, 0 replies; 6+ messages in thread
From: Ekaitz Zarraga @ 2024-02-28 13:44 UTC (permalink / raw)
To: control, 69441
user guix
usertag 69441 + reviewed-looks-good
thanks
Guix QA review form submission:
It has no dependent packages, it builds properly. Linter doesn't
complain about it.
Items marked as checked: Lint warnings, Package builds, Commit messages,
New package licenses, New package tests, New package synopsis and
descriptions
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2024-03-02 16:02 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-27 22:10 [bug#69441] [PATCH] gnu: Add python-mord King, Spencer via Guix-patches via
2024-02-28 13:22 ` Ekaitz Zarraga
2024-02-28 13:24 ` Ekaitz Zarraga
2024-02-28 13:38 ` Ekaitz Zarraga
2024-03-02 16:00 ` bug#69441: " Ludovic Courtès
2024-02-28 13:44 ` [bug#69441] QA review for 69441 Ekaitz Zarraga
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).