Tutorials for TDA4j

These tutorials each take one question, one or two small data sets, and work through to an answer, showing the code and what it prints. They assume no topology beyond the idea of a hole; the user guide is the place for complete lists of options. Every number quoted on these pages is checked by a test that runs the same code, so the pages and the library cannot quietly drift apart.

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, 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

Other kinds of data

Spaces and algebra

The data sets. The point clouds are in data/ and are produced by a seeded generator in the repository's tests (TutorialData), which also checks that the files are exactly what the generator makes. Every other data set is generated in the code on its page.

In this article