Giter Site home page Giter Site logo

Comments (2)

outlace avatar outlace commented on June 7, 2024

Yes, right now it seems Ripser can only compute the persistence diagrams but you have no way of analyzing the the individual data points that compose the various topological components found. If my PD shows my data has two cycles, then I want to know which points are on cycle 1 and which points are on cycle 2, for example.

from ripser.py.

catanzaromj avatar catanzaromj commented on June 7, 2024

There are ways to determine which points might lie near the hole which the persistence diagram is detecting. Please see this page in the docs for an example of how to use ripser.py to find representative co-cycles.

However, translating from a (co)homological feature, like a point in a persitence diagram, to a feature within the actual data, like a (co)cycle representative or list of the data points which "gave rise" to that feature, can be very subtle. Homology and cohomology are equivalence relations and what you both are asking for are representatives within an equivalence class. A priori, no one representative is better than any other. This is analogous to asking for a representative of the class of 1 within the integers modulo 5. You could say 1 should be the representative, but 6, 11, 16, and -4 are all just as fair answers. To make the topological situation even more difficult, the cycle representative need not be stable. This means that if your data is perturbed slightly, there are theoretical guarantees that the points within the persistence diagram will only move slightly, but no guarantee that your cycle representative will only move slightly--in fact it can move arbitrarily far away from the initial representative.

The domain-specific/scientific aspect of the problem you're solving might lead you to natural choices for which representatives to choose (e.g., minimal length, minimal energy, minimal cost, etc.)

from ripser.py.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.