unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Troy Figiel <troy@troyfigiel.com>
To: 67265@debbugs.gnu.org
Subject: [bug#67265] [PATCH v2 2/3] gnu: Add python-persim.
Date: Sat, 18 Nov 2023 22:39:11 +0100	[thread overview]
Message-ID: <87o7dw517a.fsf@troyfigiel.com> (raw)
In-Reply-To: <87il5yag2m.fsf@troyfigiel.com>

* gnu/packages/machine-learning.scm (python-persim): New variable.

Change-Id: I914071a90b4555d7d1218ce83337d49298effb01
---
 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 @@ (define-public python-hopcroftkarp
 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")
-- 
2.42.0





  parent reply	other threads:[~2024-01-07 20:39 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-18 21:48 [bug#67265] [PATCH 0/3] Add python-ripser and missing dependencies Troy Figiel
2023-11-18 21:06 ` [bug#67265] [PATCH v2 1/3] gnu: Add python-hopcroftkarp Troy Figiel
2023-11-18 21:39 ` Troy Figiel [this message]
2023-11-18 21:41 ` [bug#67265] [PATCH v2 3/3] gnu: Add python-ripser Troy Figiel
2023-11-18 21:52 ` [bug#67265] [PATCH 1/3] gnu: Add python-hopcroftkarp Troy Figiel
2023-11-18 21:53 ` [bug#67265] [PATCH 2/3] gnu: Add python-persim Troy Figiel
2023-11-18 21:54 ` [bug#67265] [PATCH 3/3] gnu: Add python-ripser Troy Figiel
2024-01-07 20:15 ` [bug#67265] [PATCH v2 0/3] Add python-ripser and its dependencies Troy Figiel
2024-01-09  9:18   ` bug#67265: " Mathieu Othacehe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87o7dw517a.fsf@troyfigiel.com \
    --to=troy@troyfigiel.com \
    --cc=67265@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).