From patchwork Wed Feb 28 13:38:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Ekaitz Zarraga X-Patchwork-Id: 61213 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 9989D27BBE9; Wed, 28 Feb 2024 13:39:50 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 4B64C27BBE2 for ; Wed, 28 Feb 2024 13:39:49 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rfK9q-0007uU-UO; Wed, 28 Feb 2024 08:39:38 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rfK9o-0007tw-0a for guix-patches@gnu.org; Wed, 28 Feb 2024 08:39:36 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rfK9n-0002Yg-Ns for guix-patches@gnu.org; Wed, 28 Feb 2024 08:39:35 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rfKAD-0007KI-VV for guix-patches@gnu.org; Wed, 28 Feb 2024 08:40:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69441] [PATCH] gnu: Add python-mord. Resent-From: Ekaitz Zarraga Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 28 Feb 2024 13:40:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69441 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69441@debbugs.gnu.org Cc: "spencer.king@geneoscopy.com" Received: via spool by 69441-submit@debbugs.gnu.org id=B69441.170912758728121 (code B ref 69441); Wed, 28 Feb 2024 13:40:01 +0000 Received: (at 69441) by debbugs.gnu.org; 28 Feb 2024 13:39:47 +0000 Received: from localhost ([127.0.0.1]:40371 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rfK9w-0007JQ-TQ for submit@debbugs.gnu.org; Wed, 28 Feb 2024 08:39:46 -0500 Received: from dane.soverin.net ([185.233.34.148]:49459) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rfK9s-0007Iu-3c for 69441@debbugs.gnu.org; Wed, 28 Feb 2024 08:39:43 -0500 Received: from smtp.soverin.net (unknown [10.10.4.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dane.soverin.net (Postfix) with ESMTPS id 4TlFmr6jkzz2xSx; Wed, 28 Feb 2024 13:38:36 +0000 (UTC) Received: from smtp.soverin.net (smtp.soverin.net [10.10.4.100]) by soverin.net (Postfix) with ESMTPSA id 4TlFmr2D9szF0; Wed, 28 Feb 2024 13:38:36 +0000 (UTC) Authentication-Results: smtp.soverin.net; dkim=pass (2048-bit key; unprotected) header.d=elenq.tech header.i=@elenq.tech header.a=rsa-sha256 header.s=soverin1 header.b=ggP4n24q; dkim-atps=neutral DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=elenq.tech; s=soverin1; t=1709127516; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=IvyrdcvO0EzWr4ktcMYz3l0Fq9GzRVvtaRsfmIh9pYI=; b=ggP4n24q4c4SmpwSKTc9lEDxDl8FfYbxv98RUX48qWktSCVYelrhCH+W0a1JhEUMS3mSmu Sqmvkv9OKjlTd1AIdX0a59CUKcY0RmYw6O1F9l/wq9bLDi72WHGn9qd4HbwCjMYVlAf+um lrv6yG85hKvJ2qwmegjJZUEG79Azso+UQ9/HhAFynEdkewtvlEfVx6t1uHwb89DRRHPXT7 flU+geWWeedhNxAPzgCJ3Igcq82i2LKyAMi3YtOz9SNTfMK3kYyN9Os/W2AhJLw9wNB7YK N1QcwuyUu+j2suKs53xqUPm6JvMW7OAc+ADQ7Z/c0lvg+Va0x4/cF8TaXpe+5g== Message-ID: <1e7e1bdd-a8e3-b12e-d7f6-b9b1cf270aa1@elenq.tech> Date: Wed, 28 Feb 2024 14:38:35 +0100 MIME-Version: 1.0 Content-Language: en-US, es-ES, eu From: Ekaitz Zarraga References: In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches LoL I forgot to attach. On 2024-02-28 14:24, Ekaitz Zarraga wrote: > I made a minor change and rebased to current `master`. From ddba870c692e17ef25f98ce660072c67184d6e49 Mon Sep 17 00:00:00 2001 Message-ID: From: Spencer King 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 ;;; Copyright © 2024 David Pflug ;;; Copyright © 2024 Timothee Mathieu +;;; Copyright © 2024 Spencer King ;;; ;;; 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