persim | Distances and representations of persistence diagrams | Data Visualization library
kandi X-RAY | persim Summary
kandi X-RAY | persim Summary
Persim is a Python package for many tools used in analyzing Persistence Diagrams. It currently houses implementations of.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Gaussian distribution function
- Compute the CDF function
- Convert a Gauss - Legendre quadrature
- Calculate the CDF divergence coefficient
- Normal cumulative density function
- Plot bottleneck matching
- Plot diagrams
- Compute the landscape by depth
- Compute a list of landscape pairs
- The range of pers range
- Construct the mesh for the image
- Plots the difference between two seserstein
- Plot a landscape
- Get the range of birth range
- The pixel size
- Compute the p - norm
persim Key Features
persim Examples and Code Snippets
Community Discussions
Trending Discussions on persim
QUESTION
I am using the Python package ripser
for persistence homology. I would like to leverage this to aide in segmenting 2D point clouds.
As an example, I am following Elizabeth Munch: Python Tutorial on Topological Data Analysis. Here, I take the DoubleAnnulus
and increase the separation between the two:
ANSWER
Answered 2021-Sep-02 at 05:06K-means clustering would work nicely here (our data is fairly convex and the algorithm doesn't require labels). Since key features on persistence graphs have a large y-distance from the line y = x
, we can generate a histogram of the 1-dim Diagram
y-distances from the line y = x
and use the number of points more than 3 standard deviations above the mean as our k
-value.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install persim
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page