From patchwork Sat Mar 29 23:00:55 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinicius Monego X-Patchwork-Id: 40976 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 D6CCF27BBE9; Sat, 29 Mar 2025 23:02:33 +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=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, 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 274E827BBE2 for ; Sat, 29 Mar 2025 23:02:32 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tyfBp-0001vm-7B; Sat, 29 Mar 2025 19:02:10 -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 1tyfBk-0001uw-Pa for guix-patches@gnu.org; Sat, 29 Mar 2025 19:02:05 -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 1tyfBi-0003Hl-Vj for guix-patches@gnu.org; Sat, 29 Mar 2025 19:02:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=l1X9IcFU53hA8y2bM2lxAQ689OY2AkuRw4tSbQJdykQ=; b=B2Z1MpGyFQW6E+ULXpV/2/pFihm47uUBR5vWGAAupQZILSHzbywZIlWvlDMR5Va0GWVnLDYEpGt5VZxhkoBLSNpuSjATuc2ddMVlxfaSqWuSIpMXUAozP0ijF4nknFdiTgK3VG8lscPGEwnwYmPegTZhnBwxBocMAa7X3QIpvjRQeKjx3oydYqOz78VCTKKOzsEUN1s45euzZdbSsKd933BubKIp8FrIBeBt2317fN8oyS6m4taTwhBMB3ul0ILnST3YizMU9dK3QziCFMUR1Ium/RmUEQKRtEsIPD1UWUmzlQHhLCTahvOj0mkeRQcMdou7DUZd1Hk7hHaaZ8J8lg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tyfBi-0006Xe-QY for guix-patches@gnu.org; Sat, 29 Mar 2025 19:02:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77371] [PATCH 02/12] gnu: Add python-resample. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 29 Mar 2025 23:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77371 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 77371@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 77371-submit@debbugs.gnu.org id=B77371.174328929925034 (code B ref 77371); Sat, 29 Mar 2025 23:02:02 +0000 Received: (at 77371) by debbugs.gnu.org; 29 Mar 2025 23:01:39 +0000 Received: from localhost ([127.0.0.1]:33351 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tyfBL-0006Vg-Ch for submit@debbugs.gnu.org; Sat, 29 Mar 2025 19:01:39 -0400 Received: from mout01.posteo.de ([185.67.36.65]:54005) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tyfBG-0006VA-KW for 77371@debbugs.gnu.org; Sat, 29 Mar 2025 19:01:35 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id B80B9240027 for <77371@debbugs.gnu.org>; Sun, 30 Mar 2025 00:01:27 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1743289288; bh=RcZc8hW3PjH0C/1c9lYbVSDjhCWDbtq31/1PmvJBCFQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=IGJj6O0uwXZVlf9mSxEqObr0W5mnhhRT0KY7oQopTcdgnSSzi2QTNyahxIanH5pWk b6vr8fW8Wkuknli/36t89JU19ye55X8gh37H+cw8X8tEu5MXJdjTNDxL2acECOWhAq O5vEKMM43M86DvRt2HJCtvGndN7WZPdG+kuSxJXSIP7/FZtg6J8ih32HdHAZPO9iNI ejSWaAXRnz/Aec2JD2A18ION3wU1RfI1trXCBThFWxDdnFpjeQJFtvAWnmkmgb7XK3 aJ4aUCEbXJTpAJEUGE+zPHr1QGRmewGrhMkFf+l89A4nQwp0CEVhs/jPPA/aTFiHVG kqChjalVyLhbQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4ZQCYz08QDz9rxB; Sun, 30 Mar 2025 00:01:26 +0100 (CET) From: Vinicius Monego Date: Sat, 29 Mar 2025 23:00:55 +0000 Message-ID: <1248d8d6d7d9219eff44126c4aa09a9cb32d3887.1743288280.git.monego@posteo.net> In-Reply-To: References: 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 * gnu/packages/statistics.scm (python-resample): New variable. Change-Id: I0bd8ed6c0532c5dba6efd9d15b056da401072fcf --- gnu/packages/statistics.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index 55b726c66b..48542130a8 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -2813,6 +2813,39 @@ (define-public python-openturns functionalities needed to treat uncertainties in studies.") (license license:lgpl3+))) +(define-public python-resample + (package + (name "python-resample") + (version "1.10.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "resample" version)) + (sha256 + (base32 "08hbnkfplhyh1pc9ls20pldxslhsp3azb8ibgc4wjg5q801pid2b")))) + (build-system pyproject-build-system) + (propagated-inputs (list python-numpy python-scipy)) + (native-inputs (list python-pytest python-setuptools python-wheel)) + (home-page "https://github.com/scikit-hep/resample") + (synopsis "Resampling-based inference in Python") + (description "This package provides a resampling-based inference based on +data resampling and permutation. + +Features: + +@itemize +@item Bootstrap resampling: ordinary or balanced with optional stratification +@item Extended bootstrap resampling: also varies sample size +@item Parametric resampling: Gaussian, Poisson, gamma, etc.) +@item Jackknife estimates of bias and variance of any estimator +@item Compute bootstrap confidence intervals (percentile or BCa) for any +estimator +@item Permutation-based variants of traditional statistical tests (USP test of +independence and others) +@item Tools for working with empirical distributions (CDF, quantile, etc.) +@end itemize") + (license license:bsd-3))) + (define-public r-coda (package (name "r-coda")