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.tar.gz (14.9 kB view details)

Uploaded Source

File details

Details for the file tsne-0.1.tar.gz.

File metadata

  • Download URL: tsne-0.1.tar.gz
  • Upload date:
  • Size: 14.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for tsne-0.1.tar.gz
Algorithm Hash digest
SHA256 ff5d0bc0b16393c3ccb557e57ca1cfdd9cd822249782311b6ee3c828cc9dcc6a
MD5 b534c85f7f4dda6b42a02978d8722e6e
BLAKE2b-256 4d0feb2a32aff62f31fd6d03d137cc3dd700fded547e47637634e21ad97688ff

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page