[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
14/15: gnu: Add python-persim.
From: |
guix-commits |
Subject: |
14/15: gnu: Add python-persim. |
Date: |
Tue, 9 Jan 2024 04:30:06 -0500 (EST) |
mothacehe pushed a commit to branch master
in repository guix.
commit 7d25add8dd9175bec9f1b81703d7c0f752caa25b
Author: Troy Figiel <troy@troyfigiel.com>
AuthorDate: Sat Nov 18 22:53:45 2023 +0100
gnu: Add python-persim.
* gnu/packages/machine-learning.scm (python-persim): New variable.
Change-Id: I914071a90b4555d7d1218ce83337d49298effb01
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
---
gnu/packages/machine-learning.scm | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/gnu/packages/machine-learning.scm
b/gnu/packages/machine-learning.scm
index d852b0debe..67a8041f72 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -837,6 +837,42 @@ depend on language-specific pre- or post-processing.")
cardinality matching from a bipartite graph.")
(license license:gpl3))))
+(define-public python-persim
+ (package
+ (name "python-persim")
+ (version "0.3.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "persim" version))
+ (sha256
+ (base32 "0q8wfakx8q4h3ryvw8cba0v6z7xn9139qkrzs3mi1ggyzacnx9d7"))))
+ (build-system pyproject-build-system)
+ (propagated-inputs (list python-deprecated
+ python-hopcroftkarp
+ python-joblib
+ python-matplotlib
+ python-numpy
+ python-scikit-learn
+ python-scipy))
+ (native-inputs (list python-pytest python-pytest-cov))
+ (home-page "https://persim.scikit-tda.org")
+ (synopsis "Tools for analyzing persistence diagrams in Python")
+ (description
+ "This package includes a variety of tools used to analyze persistence
diagrams.
+It currently houses implementations of
+@itemize
+@item Persistence images
+@item Persistence landscapes
+@item Bottleneck distance
+@item Modified Gromov–Hausdorff distance
+@item Sliced Wasserstein kernel
+@item Heat kernel
+@item Diagram plotting
+@end itemize
+")
+ (license license:expat))) ; MIT License
+
(define-public python-sacrebleu
(package
(name "python-sacrebleu")
- branch master updated (b26926189e -> a1a645337a), guix-commits, 2024/01/09
- 01/15: gnu: glew: Fix cross-compiling., guix-commits, 2024/01/09
- 05/15: gnu: Add python-zc-lockfile., guix-commits, 2024/01/09
- 08/15: gnu: Add python-portend., guix-commits, 2024/01/09
- 09/15: gnu: python-h5py: Enable tests., guix-commits, 2024/01/09
- 03/15: gnu: Add python-python-snappy., guix-commits, 2024/01/09
- 04/15: gnu: Add python-pytest-dotenv., guix-commits, 2024/01/09
- 06/15: gnu: Add python-jaraco-text., guix-commits, 2024/01/09
- 10/15: gnu: python-h5py: Reformat with guix style., guix-commits, 2024/01/09
- 14/15: gnu: Add python-persim.,
guix-commits <=
- 02/15: gnu: Add python-hdf5storage., guix-commits, 2024/01/09
- 07/15: gnu: Add python-jaraco-collections., guix-commits, 2024/01/09
- 11/15: gnu: Add python-pyreadstat., guix-commits, 2024/01/09
- 13/15: gnu: Add python-hopcroftkarp., guix-commits, 2024/01/09
- 15/15: gnu: Add python-ripser., guix-commits, 2024/01/09
- 12/15: gnu: Add python-multimethod., guix-commits, 2024/01/09