tda
Here are 68 public repositories matching this topic...
Test code:
from sklearn.datasets import load_digits
from gtda.homology import CubicalPersistence
from gtda.diagrams import PairwiseDistance
X, _ = load_digits(return_X_y=True)
nb_samples = 100
CP = CubicalPersistence(homology_dimensions=(0, 1))
X_diag = CP.fit_transform(X[:nb_samples].reshape(nb_samples, 8, 8))
PD = PairwiseDistance(
metric='bottleneck', metric_params={'delta'
Each project has a set of example scripts, it looks like Sphinx-gallery makes displaying rendering these examples look very nice.
-
Updated
Feb 20, 2019 - Python
In Representative Cocycles tutorial, this code block
result = ripser(x, coeff=17, do_cocycles=True)
diagrams = result['dgms']
cocycles = result['cocycles']
D = result['dm']
raises a KeyError: 'dm' since returned object doesn't have the key. The available keys are:
result.keys()
# ['dgms', 'cocycles', 'num_edges', 'dperm2all', 'idx_perm', 'r_cover']
It could be useful to have a way to clone a simplex tree, more efficiently than a loop on get_filtration doing inserts (we have a copy constructor in C++).
-
Updated
Jul 8, 2018 - Scala
-
Updated
Jul 10, 2020 - Python
-
Updated
Jun 15, 2020
Need to adjust documentation to reflect above fact. Potentially add parameter in permutation test function to allow user to pick their own distance function (takes persistent homology of two datasets as parameters, returns numeric).
Thanks to @kisungyou for bringing this to my attention.
-
Updated
Jan 28, 2019 - Jupyter Notebook
-
Updated
Feb 28, 2020 - C++
-
Updated
Jul 2, 2020 - Java
-
Updated
Feb 29, 2020
-
Updated
Jan 25, 2020 - Python
-
Updated
Mar 5, 2019 - Python
-
Updated
Jun 3, 2020 - Julia
-
Updated
Dec 20, 2019 - HTML
-
Updated
Jun 13, 2020 - Jupyter Notebook
-
Updated
Jun 29, 2020 - Java
-
Updated
Jul 3, 2020 - Julia
-
Updated
Jun 6, 2020 - R
-
Updated
May 18, 2020 - R
-
Updated
Jan 14, 2020 - Python
-
Updated
May 30, 2019 - Jupyter Notebook
-
Updated
May 19, 2020 - Python
-
Updated
Jun 21, 2020 - C++
-
Updated
Jun 7, 2020 - TypeScript
Improve this page
Add a description, image, and links to the tda topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the tda topic, visit your repo's landing page and select "manage topics."
Currently, the color palette is hardcoded in visuals.py:
https://github.com/MLWave/kepler-mapper/blob/0dfa7f736bd4218e8996888785b9d2adc63d5344/kmapper/visuals.py#L8-L15
and again in kmapper.js
https://github.com/MLWave/kepler-mapper/blob/0dfa7f736bd4218e8996888785b9d2adc63d5344/kmapper/static/kmapper.js#L25-L32
I'd like to see this