summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorVinicius Monego <monego@posteo.net>2023-08-04 20:17:52 -0300
committerVinicius Monego <monego@posteo.net>2023-09-30 10:37:47 -0300
commit9c4e8a868d0ed105b06e127a39b794d9d4ced225 (patch)
treea59b975e42828dc8d45683aac3f7609eccb7e21a /gnu
parent04b31ce1f84033dc2624f444b690656427c92288 (diff)
gnu: Add python-chaospy.
* gnu/packages/statistics.scm (python-chaospy): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/statistics.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index d8fde36cd3..e340f0174e 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -2234,6 +2234,32 @@ modeling focusing on advanced Markov chain Monte Carlo (MCMC) and variational
inference (VI) algorithms.")
(license license:asl2.0)))
+(define-public python-chaospy
+ (package
+ (name "python-chaospy")
+ (version "4.3.13")
+ (source (origin ;; PyPI misses Pytest fixtures.
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/jonathf/chaospy")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1bn4jmwygs5h0dskbniivj20qblgm75pyi9hcjf47r25kawd730m"))))
+ (build-system pyproject-build-system)
+ (propagated-inputs (list python-importlib-metadata python-numpoly
+ python-numpy python-scipy))
+ (native-inputs (list python-pytest python-scikit-learn))
+ (home-page "https://chaospy.readthedocs.io/en/master/")
+ (synopsis "Numerical tool for performing uncertainty quantification")
+ (description "Chaospy is a numerical toolbox for performing uncertainty
+quantification using polynomial chaos expansions, advanced Monte Carlo
+methods implemented in Python. It also include a full suite of tools for
+doing low-discrepancy sampling, quadrature creation, polynomial manipulations,
+and a lot more.")
+ (license license:expat)))
+
(define-public python-patsy
(package
(name "python-patsy")