Skip to content

ilikedata/tsne

 
 

Repository files navigation

Python-TSNE

travis-ci

Python library containing T-SNE algorithms.

Algorithms

Barnes-Hut-SNE

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

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

Requirements

Anaconda is recommended.

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

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 setup.py install

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.

About

A python wrapper for Barnes-Hut tsne

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 59.9%
  • C++ 37.8%
  • MATLAB 2.1%
  • Makefile 0.2%