From patchwork Tue Oct 3 13:03:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinicius Monego X-Patchwork-Id: 54464 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 66DFB27BBE9; Tue, 3 Oct 2023 14:05:23 +0100 (BST) 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 E37D727BBE2 for ; Tue, 3 Oct 2023 14:05:21 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qnf56-0002tJ-P1; Tue, 03 Oct 2023 09:04:56 -0400 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 1qnf4y-0002rw-8q for guix-patches@gnu.org; Tue, 03 Oct 2023 09:04:48 -0400 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 1qnf4v-0006uR-4X for guix-patches@gnu.org; Tue, 03 Oct 2023 09:04:47 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qnf5B-0001Nq-PJ for guix-patches@gnu.org; Tue, 03 Oct 2023 09:05:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66322] [PATCH] gnu: Add python-mapie. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 03 Oct 2023 13:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 66322 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 66322@debbugs.gnu.org Cc: Vinicius Monego X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16963382755260 (code B ref -1); Tue, 03 Oct 2023 13:05:01 +0000 Received: (at submit) by debbugs.gnu.org; 3 Oct 2023 13:04:35 +0000 Received: from localhost ([127.0.0.1]:39044 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qnf4l-0001Mm-DQ for submit@debbugs.gnu.org; Tue, 03 Oct 2023 09:04:35 -0400 Received: from lists.gnu.org ([2001:470:142::17]:33000) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qnf4j-0001MX-70 for submit@debbugs.gnu.org; Tue, 03 Oct 2023 09:04:33 -0400 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 1qnf4M-0002km-4b for guix-patches@gnu.org; Tue, 03 Oct 2023 09:04:10 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qnf4J-0006rJ-Ne for guix-patches@gnu.org; Tue, 03 Oct 2023 09:04:09 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 61E99240028 for ; Tue, 3 Oct 2023 15:04:03 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1696338243; bh=/yWahW4gd8QR1uwPVWkogGLC14vADWflSkgGFJc2dV0=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version: Content-Transfer-Encoding:From; b=A1YFCPWvQDOXc9TfldQxlETecwvYk5Qd9EiB3XodCY7mRQkN4iREORCf2dPfXMY2F HUUGO4RzN4omqWPvBir2Uhv3Od0uiLMlPjMZM8emWEtiiQmKJZ3BRA6skrpLQ7zz9j rTTBgVss3kzlrThlHLLOlCndTSrxri48ggsV5R1ZQkHgz0wJdiP0LGLO3tUUhFINNL hTns7XAG7pE5RO7x7hiRoSdm2k6rNEumBo6xx+tFijpDyv/4hbInywa6xlP6rxDtHW uwlNaqMDQUwEWgR/eoaEvWdQ1VSpTBT5UrnX7tuTJzaXzr8tp/Z9XgrIhqk6FHp+Rh 7vHiQGyZNm9hg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4S0J1G3r1qz6tsb; Tue, 3 Oct 2023 15:04:02 +0200 (CEST) From: Vinicius Monego Date: Tue, 3 Oct 2023 13:03:38 +0000 Message-Id: <085895e45af36b5c5957bc3b235f228356d8b2c8.1696338107.git.monego@posteo.net> MIME-Version: 1.0 Received-SPF: pass client-ip=185.67.36.65; envelope-from=monego@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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 * gnu/packages/statistics.scm (python-mapie): New variable. --- gnu/packages/statistics.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) base-commit: 789a8538d647ec50713698c5cdce522ce3415452 diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index a2f5d564f1..f742702679 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -2330,6 +2330,30 @@ (define-public python-patsy ;; and is covered by the PSFL. (license (list license:bsd-2 license:psfl)))) +(define-public python-mapie + (package + (name "python-mapie") + (version "0.7.0") + (source (origin + (method url-fetch) + (uri (pypi-uri "MAPIE" version)) + (sha256 + (base32 + "1nvi547avvwrck1n7rf5jh7d0ml6jaqjs2p59iwcq2a5xjmdsmsc")))) + (build-system pyproject-build-system) + (native-inputs (list python-pandas python-pytest)) + (propagated-inputs (list python-numpy python-scikit-learn)) + (home-page "https://github.com/scikit-learn-contrib/MAPIE") + (synopsis "Module for estimating prediction intervals") + (description "MAPIE allows you to easily estimate prediction intervals +(or prediction sets) using your favourite scikit-learn-compatible model for +single-output regression or multi-class classification settings. + +Prediction intervals output by MAPIE encompass both aleatoric and epistemic +uncertainties and are backed by strong theoretical guarantees thanks to +conformal prediction methods intervals.") + (license license:bsd-3))) + (define-public python-statsmodels (package (name "python-statsmodels")