From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id CBCNFPU332VFJgAA62LTzQ:P1 (envelope-from ) for ; Wed, 28 Feb 2024 14:41:09 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id CBCNFPU332VFJgAA62LTzQ (envelope-from ) for ; Wed, 28 Feb 2024 14:41:09 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=elenq.tech header.s=soverin1 header.b=MU7M6EOj; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1709127669; h=from:from:sender:sender: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:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=x3a4zexYfa7OVZ8Vq4mnNTfYj5txXt8gDOY5EJpR1Ek=; b=WHnNAqfS1Iwk7a05XVPBG3ODsnXp89uVnOe7Tzi4CObLatPivgfmXjmmqfSsAKkjS61TuG TGp7yoFrJeEnCyz0JiYERohyhkkI1Qfuq0L1/RUA5BekKPkEQb7N31B7gPH7Jd0cBqGX5V puLNCVnUU6TOU5I81OghqLdq9BM52DyR5Z11OaMHsbfli/4qvoMA0RnJpJcINv05eB34Ab vKJGmmoEopNKgRJUbA+8xs7VN65luMO2A0rbt21d2nRnnZKaDzTXPhMYgILZxifPCr+iVg xWBX0htOBlqrJS8gBHm49xP5aTgMglsCLfXntVwQHdqqCkFAFZmarivFxOelpA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=elenq.tech header.s=soverin1 header.b=MU7M6EOj; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1709127669; a=rsa-sha256; cv=none; b=l6XJ4zlXkSshQGBe0eGlHnyrXEC8v0WUqacqVjRX3+mHsolAjHkWj/snPhx3QFtEvIbV5w xeCcL+rjF+OvB/e+ByUo/4vT7RKXMYcPdECX0Z7t/DdGAaj8ksoAgGrHzIwubgIc0opsQO 5MF7pooxh7OSw+v5pe/7PEsWR6Fz8RSOK8cuDQX3teej0PZcGhpbU6+9Tebkg36hEjAUCf Jv5yODhFmZ8O1iGEgLSzLj3Hi/hcamac3yZpkBy+/SEtQktx9yx4cyk1sg/pr4HD2eUrvA ley0NDXJup55U9rsTo4T2NOARgh5PCHJYYntbWlPSp3NZ1S0pA/S7Q14XuYf8g== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 314733BC0A for ; Wed, 28 Feb 2024 14:41:09 +0100 (CET) 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) 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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -4.37 X-Spam-Score: -4.37 X-Migadu-Queue-Id: 314733BC0A X-Migadu-Scanner: mx11.migadu.com X-TUID: Ize8LVrByiZg 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(+) 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