Giter Site home page Giter Site logo

Comments (7)

sauln avatar sauln commented on May 18, 2024

oh very weird. Thanks for bringing this up.

Does your distance matrix have negative values?

from ripser.py.

christian-oreilly avatar christian-oreilly commented on May 18, 2024

Right... I was using a correlation matrix, so you are totally right... with both positives and negative values. My bad. If it is expecting a distance metric it is not surprising that it would give weird results. Maybe I could suggest testing for positivity and throwing a warning if the input matrix has negative values... for dumb-proofing the function call and helping spotting eventual issues :) Thanks for the fast feedback and for your time.

from ripser.py.

sauln avatar sauln commented on May 18, 2024

Phew! I'm glad that was the problem.

The test and warning is a great idea and would probably save others in the future. If you'd like to submit a pull request with that implementation, I would readily review and merge!

from ripser.py.

ctralie avatar ctralie commented on May 18, 2024

from ripser.py.

christian-oreilly avatar christian-oreilly commented on May 18, 2024

@sauln I can have a look at it.

@ctralie Could you provide an example of a function call that relates to that? Not knowing that much about ripser, it could take me some time to figure out what objects/functions/methods are related to your "lower start image filtration".

from ripser.py.

ctralie avatar ctralie commented on May 18, 2024

from ripser.py.

christian-oreilly avatar christian-oreilly commented on May 18, 2024

Alright. Nice notebook @ctralie

So, no change for the moment. At least this ticket provides a minimum of documentation on the existence of negative birth and death time.

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.