persim 0.3.4__tar.gz → 0.3.7__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {persim-0.3.4/persim.egg-info → persim-0.3.7}/PKG-INFO +14 -14
- {persim-0.3.4 → persim-0.3.7}/RELEASE.txt +10 -0
- persim-0.3.7/persim/_version.py +1 -0
- {persim-0.3.4 → persim-0.3.7}/persim/images.py +4 -4
- {persim-0.3.4 → persim-0.3.7}/persim/landscapes/visuals.py +0 -2
- {persim-0.3.4 → persim-0.3.7/persim.egg-info}/PKG-INFO +14 -14
- {persim-0.3.4 → persim-0.3.7}/persim.egg-info/SOURCES.txt +1 -0
- {persim-0.3.4 → persim-0.3.7}/persim.egg-info/requires.txt +5 -5
- persim-0.3.7/pyproject.toml +69 -0
- persim-0.3.7/setup.py +18 -0
- persim-0.3.4/persim/_version.py +0 -1
- persim-0.3.4/setup.py +0 -62
- {persim-0.3.4 → persim-0.3.7}/LICENSE.txt +0 -0
- {persim-0.3.4 → persim-0.3.7}/MANIFEST.in +0 -0
- {persim-0.3.4 → persim-0.3.7}/README.md +0 -0
- {persim-0.3.4 → persim-0.3.7}/persim/__init__.py +0 -0
- {persim-0.3.4 → persim-0.3.7}/persim/bottleneck.py +0 -0
- {persim-0.3.4 → persim-0.3.7}/persim/gromov_hausdorff.py +0 -0
- {persim-0.3.4 → persim-0.3.7}/persim/heat.py +0 -0
- {persim-0.3.4 → persim-0.3.7}/persim/images_kernels.py +0 -0
- {persim-0.3.4 → persim-0.3.7}/persim/images_weights.py +0 -0
- {persim-0.3.4 → persim-0.3.7}/persim/landscapes/__init__.py +0 -0
- {persim-0.3.4 → persim-0.3.7}/persim/landscapes/approximate.py +0 -0
- {persim-0.3.4 → persim-0.3.7}/persim/landscapes/auxiliary.py +0 -0
- {persim-0.3.4 → persim-0.3.7}/persim/landscapes/base.py +0 -0
- {persim-0.3.4 → persim-0.3.7}/persim/landscapes/exact.py +0 -0
- {persim-0.3.4 → persim-0.3.7}/persim/landscapes/tools.py +0 -0
- {persim-0.3.4 → persim-0.3.7}/persim/landscapes/transformer.py +0 -0
- {persim-0.3.4 → persim-0.3.7}/persim/persistent_entropy.py +0 -0
- {persim-0.3.4 → persim-0.3.7}/persim/sliced_wasserstein.py +0 -0
- {persim-0.3.4 → persim-0.3.7}/persim/visuals.py +0 -0
- {persim-0.3.4 → persim-0.3.7}/persim/wasserstein.py +0 -0
- {persim-0.3.4 → persim-0.3.7}/persim.egg-info/dependency_links.txt +0 -0
- {persim-0.3.4 → persim-0.3.7}/persim.egg-info/top_level.txt +0 -0
- {persim-0.3.4 → persim-0.3.7}/setup.cfg +0 -0
- {persim-0.3.4 → persim-0.3.7}/test/test_distances.py +0 -0
- {persim-0.3.4 → persim-0.3.7}/test/test_landscapes.py +0 -0
- {persim-0.3.4 → persim-0.3.7}/test/test_persim.py +0 -0
- {persim-0.3.4 → persim-0.3.7}/test/test_persistence_imager.py +0 -0
- {persim-0.3.4 → persim-0.3.7}/test/test_persistent_entropy.py +0 -0
- {persim-0.3.4 → persim-0.3.7}/test/test_visuals.py +0 -0
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: persim
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.7
|
|
4
4
|
Summary: Distances and representations of persistence diagrams
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
Author-email: Nathaniel Saul <nat@riverasaul.com>, Chris Tralie <chris.tralie@gmail.com>, Francis Motta <francis.c.motta@gmail.com>, Michael Catanzaro <catanzaromj@pm.me>, Gabrielle Angeloro <gabrielleangeloro@gmail.com>, Calder Sheagren <caldersheagren@gmail.com>
|
|
6
|
+
Maintainer-email: Nathaniel Saul <nat@riverasaul.com>, Chris Tralie <chris.tralie@gmail.com>, Michael Catanzaro <catanzaromj@pm.me>, Abraham Smith <abraham.smith@geomdata.com>
|
|
7
|
+
Project-URL: Homepage, https://persim.scikit-tda.org
|
|
8
|
+
Project-URL: Documentation, https://persim.scikit-tda.org
|
|
9
|
+
Project-URL: Repository, https://github.com/scikit-tda/persim
|
|
10
|
+
Project-URL: Issues, https://github.com/scikit-tda/persim/issues
|
|
11
|
+
Project-URL: Changelog, https://github.com/scikit-tda/persim/blob/master/RELEASE.txt
|
|
9
12
|
Keywords: persistent homology,persistence images,persistence diagrams,topological data analysis,algebraic topology,unsupervised learning,supervised learning,machine learning,sliced wasserstein distance,bottleneck distance
|
|
10
13
|
Classifier: Development Status :: 3 - Alpha
|
|
11
14
|
Classifier: Intended Audience :: Science/Research
|
|
@@ -15,23 +18,20 @@ Classifier: Intended Audience :: Healthcare Industry
|
|
|
15
18
|
Classifier: Topic :: Scientific/Engineering :: Information Analysis
|
|
16
19
|
Classifier: Topic :: Scientific/Engineering :: Mathematics
|
|
17
20
|
Classifier: License :: OSI Approved :: MIT License
|
|
18
|
-
Classifier: Programming Language :: Python
|
|
19
|
-
Classifier: Programming Language :: Python :: 3.7
|
|
20
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
21
|
-
Requires-Python: >=3.6
|
|
21
|
+
Classifier: Programming Language :: Python
|
|
22
22
|
Description-Content-Type: text/markdown
|
|
23
23
|
License-File: LICENSE.txt
|
|
24
|
-
Requires-Dist: scikit-learn
|
|
25
|
-
Requires-Dist: numpy
|
|
26
|
-
Requires-Dist: matplotlib
|
|
27
|
-
Requires-Dist: scipy
|
|
28
|
-
Requires-Dist: hopcroftkarp
|
|
29
24
|
Requires-Dist: deprecated
|
|
25
|
+
Requires-Dist: hopcroftkarp
|
|
30
26
|
Requires-Dist: joblib
|
|
27
|
+
Requires-Dist: matplotlib
|
|
28
|
+
Requires-Dist: numpy
|
|
29
|
+
Requires-Dist: scikit-learn
|
|
31
30
|
Provides-Extra: testing
|
|
32
31
|
Requires-Dist: pytest; extra == "testing"
|
|
33
32
|
Requires-Dist: pytest-cov; extra == "testing"
|
|
34
33
|
Provides-Extra: docs
|
|
34
|
+
Requires-Dist: ripser; extra == "docs"
|
|
35
35
|
Requires-Dist: sktda_docs_config; extra == "docs"
|
|
36
36
|
|
|
37
37
|
[](https://badge.fury.io/py/persim)
|
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
0.3.7
|
|
2
|
+
- Fix bug of Issue #81 (https://github.com/scikit-tda/persim/issues/81)
|
|
3
|
+
|
|
4
|
+
0.3.6
|
|
5
|
+
- Update to pyproject.toml specification.
|
|
6
|
+
- Update github workflows.
|
|
7
|
+
|
|
8
|
+
0.3.5
|
|
9
|
+
- Fix broken notebook, Issue #77 (https://github.com/scikit-tda/persim/issues/77).
|
|
10
|
+
|
|
1
11
|
0.3.4
|
|
2
12
|
- Fix bug of Issue #70 (https://github.com/scikit-tda/persim/issues/70).
|
|
3
13
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.3.7"
|
|
@@ -619,10 +619,10 @@ class PersistenceImager(TransformerMixin):
|
|
|
619
619
|
skew : boolean
|
|
620
620
|
Flag indicating if diagram(s) need to first be converted to birth-persistence coordinates (default: True).
|
|
621
621
|
"""
|
|
622
|
-
min_birth = np.
|
|
623
|
-
max_birth = -np.
|
|
624
|
-
min_pers = np.
|
|
625
|
-
max_pers = -np.
|
|
622
|
+
min_birth = np.inf
|
|
623
|
+
max_birth = -np.inf
|
|
624
|
+
min_pers = np.inf
|
|
625
|
+
max_pers = -np.inf
|
|
626
626
|
|
|
627
627
|
# convert to a list of diagrams if necessary
|
|
628
628
|
pers_dgms, singular = self._ensure_iterable(pers_dgms)
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: persim
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.7
|
|
4
4
|
Summary: Distances and representations of persistence diagrams
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
Author-email: Nathaniel Saul <nat@riverasaul.com>, Chris Tralie <chris.tralie@gmail.com>, Francis Motta <francis.c.motta@gmail.com>, Michael Catanzaro <catanzaromj@pm.me>, Gabrielle Angeloro <gabrielleangeloro@gmail.com>, Calder Sheagren <caldersheagren@gmail.com>
|
|
6
|
+
Maintainer-email: Nathaniel Saul <nat@riverasaul.com>, Chris Tralie <chris.tralie@gmail.com>, Michael Catanzaro <catanzaromj@pm.me>, Abraham Smith <abraham.smith@geomdata.com>
|
|
7
|
+
Project-URL: Homepage, https://persim.scikit-tda.org
|
|
8
|
+
Project-URL: Documentation, https://persim.scikit-tda.org
|
|
9
|
+
Project-URL: Repository, https://github.com/scikit-tda/persim
|
|
10
|
+
Project-URL: Issues, https://github.com/scikit-tda/persim/issues
|
|
11
|
+
Project-URL: Changelog, https://github.com/scikit-tda/persim/blob/master/RELEASE.txt
|
|
9
12
|
Keywords: persistent homology,persistence images,persistence diagrams,topological data analysis,algebraic topology,unsupervised learning,supervised learning,machine learning,sliced wasserstein distance,bottleneck distance
|
|
10
13
|
Classifier: Development Status :: 3 - Alpha
|
|
11
14
|
Classifier: Intended Audience :: Science/Research
|
|
@@ -15,23 +18,20 @@ Classifier: Intended Audience :: Healthcare Industry
|
|
|
15
18
|
Classifier: Topic :: Scientific/Engineering :: Information Analysis
|
|
16
19
|
Classifier: Topic :: Scientific/Engineering :: Mathematics
|
|
17
20
|
Classifier: License :: OSI Approved :: MIT License
|
|
18
|
-
Classifier: Programming Language :: Python
|
|
19
|
-
Classifier: Programming Language :: Python :: 3.7
|
|
20
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
21
|
-
Requires-Python: >=3.6
|
|
21
|
+
Classifier: Programming Language :: Python
|
|
22
22
|
Description-Content-Type: text/markdown
|
|
23
23
|
License-File: LICENSE.txt
|
|
24
|
-
Requires-Dist: scikit-learn
|
|
25
|
-
Requires-Dist: numpy
|
|
26
|
-
Requires-Dist: matplotlib
|
|
27
|
-
Requires-Dist: scipy
|
|
28
|
-
Requires-Dist: hopcroftkarp
|
|
29
24
|
Requires-Dist: deprecated
|
|
25
|
+
Requires-Dist: hopcroftkarp
|
|
30
26
|
Requires-Dist: joblib
|
|
27
|
+
Requires-Dist: matplotlib
|
|
28
|
+
Requires-Dist: numpy
|
|
29
|
+
Requires-Dist: scikit-learn
|
|
31
30
|
Provides-Extra: testing
|
|
32
31
|
Requires-Dist: pytest; extra == "testing"
|
|
33
32
|
Requires-Dist: pytest-cov; extra == "testing"
|
|
34
33
|
Provides-Extra: docs
|
|
34
|
+
Requires-Dist: ripser; extra == "docs"
|
|
35
35
|
Requires-Dist: sktda_docs_config; extra == "docs"
|
|
36
36
|
|
|
37
37
|
[](https://badge.fury.io/py/persim)
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools >= 61.0"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "persim"
|
|
7
|
+
dynamic = ["version"]
|
|
8
|
+
description = "Distances and representations of persistence diagrams"
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
authors = [
|
|
11
|
+
{ name = "Nathaniel Saul", email = "nat@riverasaul.com" },
|
|
12
|
+
{ name = "Chris Tralie", email = "chris.tralie@gmail.com" },
|
|
13
|
+
{ name = "Francis Motta", email = "francis.c.motta@gmail.com" },
|
|
14
|
+
{ name = "Michael Catanzaro", email = "catanzaromj@pm.me" },
|
|
15
|
+
{ name = "Gabrielle Angeloro", email = "gabrielleangeloro@gmail.com" },
|
|
16
|
+
{ name = "Calder Sheagren", email = "caldersheagren@gmail.com" },
|
|
17
|
+
]
|
|
18
|
+
maintainers = [
|
|
19
|
+
{ name = "Nathaniel Saul", email = "nat@riverasaul.com" },
|
|
20
|
+
{ name = "Chris Tralie", email = "chris.tralie@gmail.com" },
|
|
21
|
+
{ name = "Michael Catanzaro", email = "catanzaromj@pm.me" },
|
|
22
|
+
{ name = "Abraham Smith", email = "abraham.smith@geomdata.com" },
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
dependencies = [
|
|
26
|
+
"deprecated",
|
|
27
|
+
"hopcroftkarp",
|
|
28
|
+
"joblib",
|
|
29
|
+
"matplotlib",
|
|
30
|
+
"numpy",
|
|
31
|
+
"scikit-learn",
|
|
32
|
+
]
|
|
33
|
+
|
|
34
|
+
classifiers = [
|
|
35
|
+
"Development Status :: 3 - Alpha",
|
|
36
|
+
"Intended Audience :: Science/Research",
|
|
37
|
+
"Intended Audience :: Education",
|
|
38
|
+
"Intended Audience :: Financial and Insurance Industry",
|
|
39
|
+
"Intended Audience :: Healthcare Industry",
|
|
40
|
+
"Topic :: Scientific/Engineering :: Information Analysis",
|
|
41
|
+
"Topic :: Scientific/Engineering :: Mathematics",
|
|
42
|
+
"License :: OSI Approved :: MIT License",
|
|
43
|
+
"Programming Language :: Python",
|
|
44
|
+
]
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
keywords = [
|
|
48
|
+
"persistent homology",
|
|
49
|
+
"persistence images",
|
|
50
|
+
"persistence diagrams",
|
|
51
|
+
"topological data analysis",
|
|
52
|
+
"algebraic topology",
|
|
53
|
+
"unsupervised learning",
|
|
54
|
+
"supervised learning",
|
|
55
|
+
"machine learning",
|
|
56
|
+
"sliced wasserstein distance",
|
|
57
|
+
"bottleneck distance",
|
|
58
|
+
]
|
|
59
|
+
[project.optional-dependencies]
|
|
60
|
+
testing = ["pytest", "pytest-cov"]
|
|
61
|
+
|
|
62
|
+
docs = ["ripser", "sktda_docs_config"]
|
|
63
|
+
|
|
64
|
+
[project.urls]
|
|
65
|
+
Homepage = "https://persim.scikit-tda.org"
|
|
66
|
+
Documentation = "https://persim.scikit-tda.org"
|
|
67
|
+
Repository = "https://github.com/scikit-tda/persim"
|
|
68
|
+
Issues = "https://github.com/scikit-tda/persim/issues"
|
|
69
|
+
Changelog = "https://github.com/scikit-tda/persim/blob/master/RELEASE.txt"
|
persim-0.3.7/setup.py
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import setuptools
|
|
2
|
+
import re
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
def get_version():
|
|
6
|
+
VERSIONFILE = "persim/_version.py"
|
|
7
|
+
verstrline = open(VERSIONFILE, "rt").read()
|
|
8
|
+
VSRE = r"^__version__ = ['\"]([^'\"]*)['\"]"
|
|
9
|
+
mo = re.search(VSRE, verstrline, re.M)
|
|
10
|
+
if mo:
|
|
11
|
+
return mo.group(1)
|
|
12
|
+
else:
|
|
13
|
+
raise RuntimeError("Unable to find version string in %s." % (VERSIONFILE,))
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
setuptools.setup(
|
|
17
|
+
version=get_version(),
|
|
18
|
+
)
|
persim-0.3.4/persim/_version.py
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.3.4"
|
persim-0.3.4/setup.py
DELETED
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env python
|
|
2
|
-
|
|
3
|
-
from setuptools import setup
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
import re
|
|
7
|
-
|
|
8
|
-
VERSIONFILE = "persim/_version.py"
|
|
9
|
-
verstrline = open(VERSIONFILE, "rt").read()
|
|
10
|
-
VSRE = r"^__version__ = ['\"]([^'\"]*)['\"]"
|
|
11
|
-
mo = re.search(VSRE, verstrline, re.M)
|
|
12
|
-
if mo:
|
|
13
|
-
verstr = mo.group(1)
|
|
14
|
-
else:
|
|
15
|
-
raise RuntimeError("Unable to find version string in %s." % (VERSIONFILE,))
|
|
16
|
-
|
|
17
|
-
with open("README.md") as f:
|
|
18
|
-
long_description = f.read()
|
|
19
|
-
|
|
20
|
-
setup(
|
|
21
|
-
name="persim",
|
|
22
|
-
version=verstr,
|
|
23
|
-
description="Distances and representations of persistence diagrams",
|
|
24
|
-
long_description=long_description,
|
|
25
|
-
long_description_content_type="text/markdown",
|
|
26
|
-
author="Nathaniel Saul, Chris Tralie, Francis Motta, Michael Catanzaro, Gabrielle Angeloro, Calder Sheagren",
|
|
27
|
-
author_email="nat@riverasaul.com, chris.tralie@gmail.com, francis.c.motta@gmail.com, catanzaromj@gmail.com, gabrielleangeloro@gmail.com, caldersheagren@gmail.com",
|
|
28
|
-
url="https://persim.scikit-tda.org",
|
|
29
|
-
license="MIT",
|
|
30
|
-
packages=["persim"],
|
|
31
|
-
include_package_data=True,
|
|
32
|
-
install_requires=[
|
|
33
|
-
"scikit-learn",
|
|
34
|
-
"numpy",
|
|
35
|
-
"matplotlib",
|
|
36
|
-
"scipy",
|
|
37
|
-
"hopcroftkarp",
|
|
38
|
-
"deprecated",
|
|
39
|
-
"joblib",
|
|
40
|
-
],
|
|
41
|
-
extras_require={ # use `pip install -e ".[testing]"``
|
|
42
|
-
"testing": ["pytest", "pytest-cov"],
|
|
43
|
-
"docs": [ # `pip install -e ".[docs]"``
|
|
44
|
-
"sktda_docs_config"
|
|
45
|
-
],
|
|
46
|
-
},
|
|
47
|
-
python_requires=">=3.6",
|
|
48
|
-
classifiers=[
|
|
49
|
-
"Development Status :: 3 - Alpha",
|
|
50
|
-
"Intended Audience :: Science/Research",
|
|
51
|
-
"Intended Audience :: Education",
|
|
52
|
-
"Intended Audience :: Financial and Insurance Industry",
|
|
53
|
-
"Intended Audience :: Healthcare Industry",
|
|
54
|
-
"Topic :: Scientific/Engineering :: Information Analysis",
|
|
55
|
-
"Topic :: Scientific/Engineering :: Mathematics",
|
|
56
|
-
"License :: OSI Approved :: MIT License",
|
|
57
|
-
"Programming Language :: Python :: 3.6",
|
|
58
|
-
"Programming Language :: Python :: 3.7",
|
|
59
|
-
"Programming Language :: Python :: 3.8",
|
|
60
|
-
],
|
|
61
|
-
keywords="persistent homology, persistence images, persistence diagrams, topological data analysis, algebraic topology, unsupervised learning, supervised learning, machine learning, sliced wasserstein distance, bottleneck distance",
|
|
62
|
-
)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|