Skip to main content

TSNE implementations for python

Project description

Python-TSNE
===========

Python library containing T-SNE algorithms.

Algorithms
----------

Barnes-Hut-SNE
~~~~~~~~~~~~~~

A python (`cython <http://www.cython.org>`__) wrapper for
`Barnes-Hut-SNE <http://homepage.tudelft.nl/19j49/t-SNE.html>`__ aka
fast-tsne.

I basicly took `osdf code <https://github.com/osdf/py_bh_tsne>`__ and
made it pip compilant.

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

Requirements
------------

- `numpy <numpy.scipy.org>`__\ ==1.7.1
- `scipy <>`__\ ==0.12.0
- `cython <cython.org>`__\ ===0.19.1
- `openblas <https://github.com/xianyi/OpenBLAS>`__. Tested version is
v0.2.5 and v0.2.6 (not necessary for OSX).

Installation
------------

``pip install tsne``

Usage
-----

Basic usage:

::

from tsne import bh_sne
X_2d = bh_sne(X)

`Iris
example <http://nbviewer.ipython.org/urls/raw.github.com/danielfrg/py_tsne/master/examples/iris.ipynb>`__

More Information
----------------

See *Barnes-Hut-SNE*, L.J.P. van der Maaten. It is available on
`arxiv <http://arxiv.org/abs/1301.3342>`__.

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.1.tar.gz (51.2 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