Skip to main content

A framework for parametric dimensionality reduction

Project description

paraDime: A Framework for Parametric Dimensionality Reduction

Documentation Status License

paraDime is a modular framework for specifying and training parametric dimensionality reduction (DR) models. These models allow you to add new data points to existing low-dimensional representations of high-dimensional data. ParaDime DR models are constructed from simple building blocks (such as the relations between data points), so that experimentation with novel DR techniques becomes easy.

Here you can see a parametric version of t-SNE [1] trained on a subset of 5000 images of handwritten digits from the MNIST dataset [2]:

Parametric t-SNE of a subset of the MNIST image dataset

The rest of the 60,000 images can then be easily embedded into the same space without retraining the t-SNE:

Remaining MNIST data embedded into the existing low-dimensional space

Installation

paraDime is available via PyPi through:

pip install paradime

paraDime requires Numpy, SciPy, scikit-learn, PyNNDescent, and PyTorch (see requirements.txt file).

In order to use PyTorch’s CUDA functionality, it might be necessary to install PyTorch separately with the correct setting for the cudatoolkit option (assuming you have the CUDA Toolkit already installed). See the PyTorch docs for installation info.

Getting Started

For a simple exaple with one of the predefined paraDime routines, see Getting Started in the documentation.

More detailed information about how to set up cusom routines can be found in Building Blocks of a paraDime Routine.

References

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

paradime-0.2.0.tar.gz (6.0 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

paradime-0.2.0-py3-none-any.whl (36.5 kB view details)

Uploaded Python 3

File details

Details for the file paradime-0.2.0.tar.gz.

File metadata

  • Download URL: paradime-0.2.0.tar.gz
  • Upload date:
  • Size: 6.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.12

File hashes

Hashes for paradime-0.2.0.tar.gz
Algorithm Hash digest
SHA256 550e9cf9c03f4718ae50082969012fb8eb896c129fa1bafd94c191a0b6b57457
MD5 1fdb4fb6fe7f99eb7dcf4454062e9908
BLAKE2b-256 de2a36674ad7165fd0b3eefe020a80c77cad750665e13652ae6f0dbda37a941e

See more details on using hashes here.

File details

Details for the file paradime-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: paradime-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 36.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.12

File hashes

Hashes for paradime-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b5696c9c845af2d5c8935bd6a91d07a1f5859a94380cde60276f7a8404b9e41a
MD5 56b9c2dabf45bf29f23d7481396fac71
BLAKE2b-256 31cefaefda1ff71414516f0d91a56783aa0924e9fa81d6824ec0520ded4cd202

See more details on using hashes here.

Supported by

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