Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Persistence weight function and negative values in persistence image #57

Open
davafe opened this issue Jun 1, 2022 · 1 comment
Open

Comments

@davafe
Copy link

davafe commented Jun 1, 2022

The 'persistence' weight function in PersistenceImager is the one defined here https://jmlr.org/papers/volume18/16-337/16-337.pdf (page 9) that is linear on persistence coordinate and goes from 0 if persistence coordinate is 0 to 1 if persistence coordinate is the maximum?

I have obtained negative values in a persistent image (they were very close to 0). How is that possible? I have used Gaussian kernel and 'persistence' weight function, so the values in a persistence image are sums of the product of nonnegative functions.

@davafe davafe changed the title Persistence weight function and Persistence weight function and negative values in persistence image Jun 1, 2022
@catanzaromj
Copy link
Contributor

@davafe I'm not sure how that is possible. Could you provide a minimal reproducible example of the code that produced the negative values so we can take a look and debug?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants