/tsne

A python wrapper for Barnes-Hut tsne

Primary LanguageC++OtherNOASSERTION

Python-TSNE

Python library containing T-SNE algorithms.

Algorithms

Barnes-Hut-SNE

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

I basicly took osdf code and made it pip compilant.

The wrapper was successfully tested on OSX (10.6/10.7), Ubuntu (11.04) and Arch Linux.

Requirements

Installation

You can install the package from PyPI:

pip install tsne

Or directly from the Github repository:

pip install git+https://github.com/danielfrg/tsne.git

Usage

Basic usage:

from tsne import bh_sne
X_2d = bh_sne(X)

Examples

More Information

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