From patchwork Wed Feb 28 13:22:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Ekaitz Zarraga X-Patchwork-Id: 61216 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 E2D5627BBEA; Wed, 28 Feb 2024 13:41:12 +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 1F65F27BBE2 for ; Wed, 28 Feb 2024 13:41:09 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rfKAq-000887-Fb; Wed, 28 Feb 2024 08:40:40 -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 1rfKAn-000879-C2 for guix-patches@gnu.org; Wed, 28 Feb 2024 08:40:37 -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 1rfKAm-0002qR-75 for guix-patches@gnu.org; Wed, 28 Feb 2024 08:40:37 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rfKBC-0007Nr-Mw for guix-patches@gnu.org; Wed, 28 Feb 2024 08:41:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69441] [PATCH] gnu: Add python-mord. References: In-Reply-To: Resent-From: Ekaitz Zarraga Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 28 Feb 2024 13:41:02 +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 Received: via spool by 69441-submit@debbugs.gnu.org id=B69441.170912761328219 (code B ref 69441); Wed, 28 Feb 2024 13:41:02 +0000 Received: (at 69441) by debbugs.gnu.org; 28 Feb 2024 13:40:13 +0000 Received: from localhost ([127.0.0.1]:40398 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rfKAM-0007Kz-0d for submit@debbugs.gnu.org; Wed, 28 Feb 2024 08:40:13 -0500 Received: from dane.soverin.net ([185.233.34.24]:44069) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rfKAJ-0007KH-6Q for 69441@debbugs.gnu.org; Wed, 28 Feb 2024 08:40:09 -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 4TlFR224xlzyTY; Wed, 28 Feb 2024 13:23:10 +0000 (UTC) Received: from smtp.soverin.net (smtp.soverin.net [10.10.4.99]) by soverin.net (Postfix) with ESMTPSA id 4TlFR12dg5z1T; Wed, 28 Feb 2024 13:23:09 +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=MU7M6EOj; dkim-atps=neutral DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=elenq.tech; s=soverin1; t=1709126589; 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: content-transfer-encoding:content-transfer-encoding; bh=x3a4zexYfa7OVZ8Vq4mnNTfYj5txXt8gDOY5EJpR1Ek=; b=MU7M6EOjmMxaI4Ql4iWQTrw61Sen3XiFOxvtceQ+mvQPwOaEyvqPKySVHwg7C+5xVdFcWn 63vT4zaNWDDvAnqW+EiHa6ludNbz4jmK4+hRhYFH9QCnzGmGhrF2hXSr0fDM04vW18nWUa 2efauk2NDLg8Nz4kL6dyYAVnUl+GJOvbE0ma/n13pv7w2kRoznPon5OGS0WCYDxuWUUI0z VMqv/Cb4hCuxpbBV4OAP3jW7ehbPJaS5AcGLbN+rujsS5F12/v5rAsfOogvCuwoihqcooU vO0xJxLbSGz7YL+w80t+zpqAzRU091UUnviMQYO9eRvVVlxW/3FnE0E//oxQ6g== From: Ekaitz Zarraga Date: Wed, 28 Feb 2024 14:22:11 +0100 Message-ID: MIME-Version: 1.0 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 From: Spencer King * gnu/packages/machine-learning.scm (python-mord): New variable. Change-Id: I1a495fece72a0b998a69cb518544ed8835b12a40 --- gnu/packages/machine-learning.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) base-commit: f29f80c194d0c534a92354b2bc19022a9b70ecf8 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")