GUDHI / gudhi-devel

The GUDHI library is a generic open source C++ library, with a Python interface, for Topological Data Analysis (TDA) and Higher Dimensional Geometry Understanding.
https://gudhi.inria.fr/
MIT License
258 stars 66 forks source link

Speed of plot_persistence_density #801

Open mglisse opened 1 year ago

mglisse commented 1 year ago

plot_persistence_density is rather slow, because the density estimation takes a lot of time. For a grid 300x300 and 10000 points, it already takes about 10s with scipy, and more if I try to use sklearn, even with a low precision. Since its main purpose is to help visualize diagrams with many points, that's an issue.

mglisse commented 1 year ago

See https://github.com/mglisse/TDA-tutorial/blob/density/Tuto-GUDHI-density-plot.ipynb (permalink) for an experiment trying to plot densities.

mglisse commented 1 year ago

https://stackoverflow.com/q/20105364/1918193 contains some good ideas.