Tutorials for TDA4j
Each tutorial takes one question and one or two small data sets, and works through to an answer, showing the code and what it prints. They assume no topology beyond the idea of a hole; the user guide has the complete lists of options. Where the MATLAB and Python interfaces cover the task, the code is also shown in MATLAB and Python tabs (a choice of language stays chosen on the other pages). Every number quoted here is checked by a test that runs the same code; the Python tabs are run as they stand, and the MATLAB tabs are checked as the same calls made from Java, not in MATLAB itself.
Start here
- All the ways to call TDA4j: the same three tasks (a hand-built octahedron, a barcode from a file, circular coordinates) from the command line, MATLAB, Python, Scala, a lab, and an engine run by hand.
- Finding a loop in noisy data: a first barcode, how to read it, and which bars to ignore.
Point clouds
- Choosing a complex: Vietoris-Rips, Čech, alpha, sparse Rips and witness complexes on the same data.
- Scaling up: four engines and edge collapse giving the same diagram at different cost.
- Noise and outliers: when stray points plant false holes, and how distance-to-measure weighting copes.
- Circular and toroidal coordinates: not just that there is a loop, but where each point is on it.
- Comparing barcodes: distances between barcodes, and barcodes as vectors for machine learning.
Other kinds of data
- Topology of an image: sublevel and superlevel sets, and the fast cubical engine.
- Curves in a Truchet pattern: counting the curves of a random tiling, closed or running off the edge, with homology relative to the boundary of the picture.
- Networks and relations: Dowker complexes of a people-and-clubs table, and Dowker duality.
Spaces and algebra
- Telling spaces apart: Betti numbers over two fields, then cup products and Steenrod squares for what counting cannot see.
- Persistent group cohomology: the homology of a group as the group grows (a proof of concept).
The data sets. The point clouds are in data/, generated with fixed seeds. Every other data set is generated by the code on its page.