From d4b0dc047f9a1d44a1448d24794befcfc6ae90a4 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Tue, 2 Aug 2022 13:50:55 +0200 Subject: gnu: Add python-fbpca. * gnu/packages/python-science.scm (python-fbpca): New variable. --- gnu/packages/python-science.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index 57c9325f49..2f4f1818f3 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -544,6 +544,26 @@ region of practical equivalence (rope), or that the second classifier has higher scores.") (license license:expat))) +(define-public python-fbpca + (package + (name "python-fbpca") + (version "1.0") + (source (origin + (method url-fetch) + (uri (pypi-uri "fbpca" version)) + (sha256 + (base32 + "1lbjqhqsdmqk86lb86q3ywf7561zmdny1dfvgwqkyrkr4ij7f1hm")))) + (build-system python-build-system) + (propagated-inputs + (list python-numpy python-scipy)) + (home-page "https://fbpca.readthedocs.io/") + (synopsis "Functions for principal component analysis and accuracy checks") + (description + "This package provides fast computations for @dfn{principal component +analysis} (PCA), SVD, and eigendecompositions via randomized methods") + (license license:bsd-3))) + (define-public python-xarray (package (name "python-xarray") -- cgit v1.2.3