Skip to main content

TSNE implementations for python

Project description



Python library containing T-SNE algorithms.

Note: Scikit-learn v0.17 includes TSNE algorithms and you should probably be using them instead of this.



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

I basically took osdf's code and made it pip compliant.


Anaconda is recommended.


You can install the package from Conda:

conda install -c maxibor tsne

Or from PyPI:

pip install tsne

Or directly from the Github repository:

pip install git+

Or using docker (could be useful for testing):

$ docker build -t tsne .
$ docker run -it -v /Users/drodriguez/workspace/tsne/:/tsne tsn

# Inside Docker:
$ python install


Basic usage:

from tsne import bh_sne
X_2d = bh_sne(X)


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 Distribution

tsne-0.1.8.tar.gz (33.6 kB view hashes)

Uploaded Source

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