Skip to main content

High Performance TSNE implementations for python

Project description

PyPI - Version PyPI - Wheel Python 3.6 Python 3.6 Python 3.6

Python TSNE implementation utilizing openmp for performance

This is based on the 10XDev/tsne fork of L.J.P. van der Maaten BH-tSNE implementation.

It has fixes to allow this to run in Python 3 and performance has been significantly increased with OpenMP parallelism. (see: tsne-perf-test)

Note: While Scikit-learn v0.17 This implementation performs significantly faster than scikit-learn's. If you need speed, use this.

Algorithms

Barnes-Hut-SNE

A python (cython) wrapper for Barnes-Hut-SNE aka fast-tsne.

We branched 10XDev's implementation and openmp enabled the code.

Installation

This library has been added to pypi as tsne-mp

pip install tsne-mp

Usage

Basic usage:

from tsne import bh_sne
X_2d = bh_sne(X)

Or, the wheels also contain an executable that can be used from the command-line as described in the original project.

Examples

More Information

See Barnes-Hut-SNE (2013), L.J.P. van der Maaten. It is available on arxiv.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

tsne_mp-0.1.11-cp37-cp37m-manylinux1_x86_64.whl (167.5 kB view hashes)

Uploaded CPython 3.7m

tsne_mp-0.1.11-cp37-cp37m-macosx_10_9_x86_64.whl (139.0 kB view hashes)

Uploaded CPython 3.7m macOS 10.9+ x86-64

tsne_mp-0.1.11-cp36-cp36m-manylinux1_x86_64.whl (167.5 kB view hashes)

Uploaded CPython 3.6m

tsne_mp-0.1.11-cp36-cp36m-macosx_10_9_x86_64.whl (139.4 kB view hashes)

Uploaded CPython 3.6m macOS 10.9+ x86-64

tsne_mp-0.1.11-cp35-cp35m-manylinux1_x86_64.whl (166.8 kB view hashes)

Uploaded CPython 3.5m

tsne_mp-0.1.11-cp35-cp35m-macosx_10_6_intel.whl (243.9 kB view hashes)

Uploaded CPython 3.5m macOS 10.6+ intel

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