summary refs log tree commit diff
path: root/gnu/packages/python-science.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2022-08-02 13:50:55 +0200
committerRicardo Wurmus <rekado@elephly.net>2022-08-02 14:37:38 +0200
commitd4b0dc047f9a1d44a1448d24794befcfc6ae90a4 (patch)
tree3d1bffc5579e628c5f69a4ca125dd0ef6c9d26f5 /gnu/packages/python-science.scm
parentd4b7aae9f406ab9732f6c46b9ff276e8e2c9a35a (diff)
downloadguix-d4b0dc047f9a1d44a1448d24794befcfc6ae90a4.tar.gz
gnu: Add python-fbpca.
* gnu/packages/python-science.scm (python-fbpca): New variable.
Diffstat (limited to 'gnu/packages/python-science.scm')
-rw-r--r--gnu/packages/python-science.scm20
1 files changed, 20 insertions, 0 deletions
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")