Comments (7)
oh very weird. Thanks for bringing this up.
Does your distance matrix have negative values?
from ripser.py.
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.
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.
from ripser.py.
@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.
from ripser.py.
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)
- std::overflow_error
- Issue with plotting dependencies import HOT 7
- ValueError: numpy.ndarray size changed, may indicate binary incompatibility. HOT 7
- Build failure on GNU/Linux (GCC 11.1.0 and Python 3.9.6 on Arch Linux) HOT 3
- Jupyter notebook crash on input of large sparse distance matrix HOT 1
- [Suggestion] Throw exception when computing bottleneck distance
- Dead comments in 0-dimensional computation/preferential treatment of edges with zero value
- get_greedy_perm (Samples)
- Get the indices of the vectors forming a hole HOT 2
- Install Ripser on ArchLinux HOT 2
- ld: cannot find /lib64/libpthread.so.0
- `ValueError: numpy.ndarray size changed` HOT 5
- Failed to build ripser, error: subprocess-exited-with-error HOT 6
- Knowing required RAM to run ripser
- Unsuccessful installation HOT 2
- Is there a way to get ripser to use virtual memory? HOT 2
- Failed building wheel for Ripser on Win11 HOT 3
- ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject HOT 1
- Failed building wheel for ripser HOT 1
- Failing to generate H1 result with small dataset. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ripser.py.