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 3/3] gnu: Add python-ripser.
Date: Sat, 18 Nov 2023 22:41:16 +0100	[thread overview]
Message-ID: <87mstg5151.fsf@troyfigiel.com> (raw)
In-Reply-To: <87il5yag2m.fsf@troyfigiel.com>

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

Change-Id: I21b42e555a5017e68cf43a6eaa19d991db36723d
---
 gnu/packages/machine-learning.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm
index 67a8041f72..1616738399 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -873,6 +873,34 @@ (define-public python-persim
 ")
     (license license:expat))) ; MIT License
 
+(define-public python-ripser
+  (package
+    (name "python-ripser")
+    (version "0.6.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "ripser" version))
+       (sha256
+        (base32 "1575nwsn6b29z7w1mjk23ri83bxq2b4ld979hpgm174642a3x6vs"))))
+    (build-system pyproject-build-system)
+    (propagated-inputs (list python-numpy python-persim python-scikit-learn
+                             python-scipy))
+    (native-inputs (list python-cython python-pytest))
+    (home-page "https://ripser.scikit-tda.org")
+    (synopsis "Persistent homology library for Python")
+    (description
+     "This package implements a variety of persistent homology algorithms.  It
+provides an interface for
+@itemize
+@item computing persistence cohomology of sparse and dense data sets
+@item visualizing persistence diagrams
+@item computing lowerstar filtrations on images
+@item computing representative cochains
+@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:40 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 ` [bug#67265] [PATCH v2 2/3] gnu: Add python-persim Troy Figiel
2023-11-18 21:41 ` Troy Figiel [this message]
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=87mstg5151.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).