summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--guix-science/packages/topology.scm62
1 files changed, 34 insertions, 28 deletions
diff --git a/guix-science/packages/topology.scm b/guix-science/packages/topology.scm
index 79845e1..921b56f 100644
--- a/guix-science/packages/topology.scm
+++ b/guix-science/packages/topology.scm
@@ -57,37 +57,43 @@ of Alpha, Rips, and Cech filtrations.")
57 (license license:expat))) 57 (license license:expat)))
58 58
59(define-public python-kmapper 59(define-public python-kmapper
60 (package 60 ;; Use postfix commit for better compatibility with scikit-learn.
61 (name "python-kmapper") 61 (let ((commit "aa594d18b7ebae22410d3a9685060710590eb1b6")
62 (version "2.1.0") 62 (revision "0")
63 (source 63 (version "2.1.0"))
64 (origin 64 (package
65 (method git-fetch) 65 (name "python-kmapper")
66 (uri (git-reference 66 (version (git-version version revision commit))
67 (url "https://github.com/scikit-tda/kepler-mapper") 67 (source
68 (commit (string-append "v" version)))) 68 (origin
69 (file-name (git-file-name name version)) 69 (method git-fetch)
70 (sha256 70 (uri (git-reference
71 (base32 "1zn2yjc8sa1rfh5r5aiyibc39l01q7493hk6m00zzwl89hkkvpcb")))) 71 (url "https://github.com/scikit-tda/kepler-mapper")
72 (build-system pyproject-build-system) 72 (commit commit)))
73 (propagated-inputs (list python-igraph 73 (file-name (git-file-name name version))
74 python-ipywidgets 74 (sha256
75 python-jinja2 75 (base32 "14sp7z2nh0dgkzgpcmyi7hkyj8fkqrc37ikqsx18g1ad5vyfvfj9"))))
76 python-matplotlib 76 (build-system pyproject-build-system)
77 python-networkx 77 (arguments
78 python-numpy 78 (list
79 python-plotly 79 #:test-flags
80 python-scikit-learn 80 #~(list
81 python-scipy)) 81 ;; requires plotly and ipywidgets
82 (native-inputs (list python-pytest python-setuptools)) 82 "--ignore=test/test_plotly.py"
83 (home-page "https://kepler-mapper.scikit-tda.org") 83 ;; raises "AssertionError: Some points become repeated in multiple nodes"
84 (synopsis "Python implementation of the Mapper algorithm for TDA") 84 "--deselect=test/test_visuals.py::TestVisualHelpers::test_format_meta")))
85 (description 85 (propagated-inputs (list python-jinja2 python-numpy python-scikit-learn
86 "This package provides a library implementing the Mapper algorithm in 86 python-scipy))
87 (native-inputs (list python-igraph python-matplotlib python-networkx
88 python-pytest python-setuptools))
89 (home-page "https://kepler-mapper.scikit-tda.org/")
90 (synopsis "Python implementation of the Mapper algorithm for TDA")
91 (description
92 "This package provides a library implementing the Mapper algorithm in
87Python. KeplerMapper can be used for visualization of high-dimensional data and 93Python. KeplerMapper can be used for visualization of high-dimensional data and
883D point cloud data. KeplerMapper can make use of Scikit-Learn API compatible 943D point cloud data. KeplerMapper can make use of Scikit-Learn API compatible
89cluster and scaling algorithms.") 95cluster and scaling algorithms.")
90 (license license:expat))) 96 (license license:expat))))
91 97
92(define-public python-phat 98(define-public python-phat
93 (package 99 (package