Skip to main content

A framework for topological machine learning based on `pytorch`.

Project description

`pytorch-topological` icon

pytorch-topological: A topological machine learning framework for pytorch

Documentation Maintainability GitHub contributors PyPI - License PyPI Tests

pytorch-topological (or torch_topological) is a topological machine learning framework for PyTorch. It aims to collect loss terms and neural network layers in order to simplify building the next generation of topology-based machine learning tools.

Topological machine learning in a nutshell

Topological machine learning refers to a new class of machine learning algorithms that are able to make use of topological features in data sets. In contrast to methods based on a purely geometrical point of view, topological features are capable of focusing on connectivity aspects of a data set. This provides an interesting fresh perspective that can be used to create powerful hybrid algorithms, capable of yielding more insights into data.

This is an emerging research field, firmly rooted in computational topology and topological data analysis. If you want to learn more about how topology and geometry can work in tandem, here are a few resources to get you started:

Installation and requirements

torch_topological requires Python 3.9. More recent versions might work but necessitate building some dependencies by yourself; Python 3.9 currently offers the smoothest experience. It is recommended to use the excellent poetry framework to install torch_topological:

poetry add torch-topological

Alternatively, use pip to install the package:

pip install -U torch-topological

Usage

torch_topological is still a work in progress. You can browse the documentation or, if code reading is more your thing, dive directly into some example code.

Here is a list of other projects that are using torch_topological:

  • SHAPR, a method for for predicting the 3D cell shape of individual cells based on 2D microscopy images

This list is incomplete---you can help expanding it by using torch_topological in your own projects! :innocent:

Contributing

Check out the contribution guidelines or the road map of the project.

Acknowledgements

Our software and research does not exist in a vacuum. pytorch-topological is standing on the shoulders of proverbial giants. In particular, we want to thank the following projects for constituting the technical backbone of the project:

giotto-tda gudhi
`giotto` icon `GUDHI` icon

Furthermore, pytorch-topological draws inspiration from several projects that provide a glimpse into the wonderful world of topological machine learning:

Finally, pytorch-topological makes heavy use of POT, the Python Optimal Transport Library. We are indebted to the many contributors of all these projects.

Project details


Download files

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

Source Distribution

torch_topological-0.1.6.tar.gz (38.2 kB view details)

Uploaded Source

Built Distribution

torch_topological-0.1.6-py3-none-any.whl (51.8 kB view details)

Uploaded Python 3

File details

Details for the file torch_topological-0.1.6.tar.gz.

File metadata

  • Download URL: torch_topological-0.1.6.tar.gz
  • Upload date:
  • Size: 38.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.10.8 Linux/6.0.9-arch1-1

File hashes

Hashes for torch_topological-0.1.6.tar.gz
Algorithm Hash digest
SHA256 af4027e11e599686897e344b7ee22efa791b12f1e7e1ae8c7a673b4ff8efb461
MD5 924795cc02ea1e53b9c2041bf78597ec
BLAKE2b-256 d63818f00a49654fbc30bf7dd84d520989aa11e74b7155f0c2851bf5e741a9aa

See more details on using hashes here.

File details

Details for the file torch_topological-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: torch_topological-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 51.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.10.8 Linux/6.0.9-arch1-1

File hashes

Hashes for torch_topological-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 ea9aef6ba410fd0d1e5866a547f60e8e3e671b67c268583b02029b7c7cf2f639
MD5 dc0c0b201b9d0585a3c56ea029bc6a6f
BLAKE2b-256 f55849d85f9bddb1bde569fbdbd45e852e3e2812b4abfb5d089930c73e896d05

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page