The sparse Vietoris-Rips filtration of Cavanna, Jahanseir and Sheehy, "A Geometric Perspective on Sparse Filtrations" (arXiv:1506.03797, CCCG 2015): the greedy-permutation form of Sheehy's linear-size approximation ("Linear-Size Approximations to the Vietoris-Rips Filtration", DCG 2013, arXiv:1203.6786). Its barcode is a (1 + epsilon)-multiplicative approximation of the Vietoris-Rips barcode (Theorem 5), from a complex of size linear in the number of points for data of bounded doubling dimension. (Sheehy 2013's epsilon is a different parameter: its factor is 1/(1 - 2 epsilon).) The edges are computed from all pairs, O(n^2), rather than by the paper's O(n log n) neighbour search: the complex to reduce is small, its construction is not.
==The construction==
Given a greedy permutation with insertion radii lambda_p (Infinity for the first point) and epsilon in (0, 1):
- the ball of
pat scalealphahas radiusmin(alpha, lambda_p (1 + epsilon) / epsilon); - it is empty from
alpha > lambda_p (1 + epsilon)^2 / epsilonon (vanish(p)): no new simplex usespafter that, though nothing already present is removed (the filtration is the running union of the nerves); - an edge
{p, q}is born at the smallestalphaat which the two balls meet (Algorithm 3,edgeBirth); - a simplex is born at the latest birth of its edges, if that is at most the earliest
vanishof its vertices (Section 5.3), and never otherwise.
Algorithm 3 computes an edge's birth without the vanish check that Section 5.3 requires of every simplex (for epsilon = 1, lambda_p = 1, lambda_q = 10, d = 10 it gives 8, while p vanishes at 4); edgeBirth applies the check to edges too.
Units: the paper's alpha is a radius; every value here is doubled, so that values are diameters like every other Vietoris-Rips filtration (an unsparsified edge gets exactly its length).
maxFiltrationValue is always clamped to maxFiniteFiltrationValue, the largest finite edge birth: the enclosing radius is no bound here, and an unclamped Infinity threshold would admit simplices that should never appear.
The value of a simplex is not its diameter, so the Ripser engines do not apply; the naive, chunks and cohomology engines do.
Attributes
- Companion
- object
- Experimental
- true
- Source
- SheehyRipsStream.scala
- Graph
-
- Supertypes