Skip to content
Synthetic data sets apt for Topological Data Analysis
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs
tadasets
test
.coveragerc
.gitattributes
.gitignore
.pep8speaks.yml
.travis.yml
DEPLOY.md
LICENSE.txt
Makefile
README.md
setup.py

README.md

PyPI version Build Status Codecov License: MIT

TaDAsets

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

Motivation

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 https://github.com/scikit-tda/tadasets
cd tadasets
pip install -e .

Examples of usage is

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

or

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

Contributions

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.

You can’t perform that action at this time.