GNU bug report logs - #77371
[PATCH 00/12] Add packages from the scikit-hep project

Previous Next

Package: guix-patches;

Reported by: Vinicius Monego <monego <at> posteo.net>

Date: Sat, 29 Mar 2025 22:59:02 UTC

Severity: normal

Tags: patch

Done: Vinicius Monego <monego <at> posteo.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Vinicius Monego <monego <at> posteo.net>
To: 77371 <at> debbugs.gnu.org
Cc: Vinicius Monego <monego <at> posteo.net>
Subject: [bug#77371] [PATCH 02/12] gnu: Add python-resample.
Date: Sat, 29 Mar 2025 23:00:55 +0000
* 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")
-- 
2.49.0





This bug report was last modified 18 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.