Python library containing T-SNE algorithms, compatible with Python 3.5.
A python (cython) wrapper for Barnes-Hut-SNE aka fast-tsne.
I basically took osdf's code and made it pip compliant.
- numpy > =1.7.1
- scipy >= 0.12.0
- cython >= 0.19.1
- cblas or openblas. Tested version is v0.2.5 and v0.2.6 (not necessary for OSX).
Anaconda is recommended.
You can install directly from the Github repository:
pip install git+https://github.com/alexisbcook/tsne.git
Basic usage:
from tsne import bh_sne
X_2d = bh_sne(X)
See Barnes-Hut-SNE (2013), L.J.P. van der Maaten. It is available on arxiv.