Skip to main content
Help the Python Software Foundation raise $60,000 USD by December 31st!  Building the PSF Q4 Fundraiser

Great data sets for Topological Data Analysis.

Project description

PyPI version Build Status Codecov License: MIT


Data sets apt for Topological Data Analysis. This project is a part of scikit-tda.


At SoCG 2018, there was discussion about the need for data sets for two main purposes

  • Benchmarking new algorithms
  • Demonstrating benefits of TDA

Data generation

We provide constructors for some synthetic data sets that are popular in development and testing of TDA techniques.

  • Torus
  • Klein Bottle
  • Swiss Roll

Setup and Usage

You can install from Pypi

pip install tadasets

or from source

git clone
cd tadasets
pip install -e .

Examples of usage is

import tadasets
data = tadasets.sphere(n=1000, r=10)


import tadasets
data = tadasets.swiss_roll(n=1000, r=10)


This package is in the very early stages of development. As I think of shapes and data sets, I add them. If you have ideas, please do suggest them in an issue and submit a pull request! All contributions are welcome.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for tadasets, version 0.0.4
Filename, size File type Python version Upload date Hashes
Filename, size tadasets-0.0.4-py3-none-any.whl (7.1 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size tadasets-0.0.4.tar.gz (6.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page