|
|
|
Alternatively, we can filter out the edges with weights larger than the threshold τi. In this variant of the filtration, new edges will appear, and connected components will disappear while we increase τi. For example, when we cut off all edges with weights more than 0.1, there are two connected components. But when we increase τi to 0.2, only one connected component remain. By increasing the threshold further, we get the initial graph again.
|
|
|
Both types of the graph filtration can be used to build the barcode.
Refer to Chapter 2 of the Algebraic Topology textbook from Allen Hatcher for a more detailed introduction to homology groups.
You can find a brief explanation of this concept in this introductory video. Also, refer to the paper Topology And Data by Gunnar Carlsson for more formal and precise definitions.
Here we provide an example of the barcode of the little graph from the above, corresponding to the second type of filtration and the connected components feature. At the threshold zero, we filter out all edges of the graph with weights more than zero, and four connected components are present. So there are four bars — each one corresponds to one connected component. On the diagram, we draw only three of them because one connected component is always present, so there is no point in tracking its dynamic. When we add edges with a weight of 0.1, two connected components disappear, so two bars end at point 0.1. When we add an edge with a weight of 0.2, one more connected component disappears, so the remained bar ends at 0.2. |
 
Designed in Notepad and hosted by Github. (C) TopoHuBERT team, 2023.