Skip to content

Infinite bars? #30

@michiexile

Description

@michiexile

Where are the infinite length persistence bars? I tried out ripserr on a simple uniformly random point cloud, and get:

> phom
# A tibble: 119 × 3
   dimension birth    death
       <int> <dbl>    <dbl>
 1         0     0 0.000583
 2         0     0 0.000980
 3         0     0 0.00102 
 4         0     0 0.00206 
 5         0     0 0.00224 
 6         0     0 0.00228 
 7         0     0 0.00249 
 8         0     0 0.00282 
 9         0     0 0.00295 
10         0     0 0.00315 

Notably,

> max(phom$death)
[1] 0.0377396

But unless you are deliberately computing reduced (co)homology, you should expect to see at least one infinite bar in dimension 0. Are you quietly dropping all the infinite bars?!

Another experiment, with a circle point cloud:

> circle.phom = vietoris_rips(circle.cloud)
> circle.phom
PHom object containing persistence data for 200 features.

Contains:
* 199 0-dim features
* 1 1-dim feature

Radius/diameter: min = 0; max = 1.7333.

but if I restrict max-radius:

> circle.phom = vietoris_rips(circle.cloud, threshold=1.5)
> circle.phom
PHom object containing persistence data for 199 features.

Contains:
* 199 0-dim features

Radius/diameter: min = 0; max = 0.15284.

I would like to strongly urge you to implement tracking and reporting of infinite bars.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions