persim icon indicating copy to clipboard operation
persim copied to clipboard

Persistence weight function and negative values in persistence image

Open davafe opened this issue 3 years ago • 1 comments

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 avatar Jun 01 '22 11:06 davafe

@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?

catanzaromj avatar Oct 23 '23 15:10 catanzaromj