High Performance TSNE implementations for python
Project description
Python-TSNE
This is based on the 10XDev/tsne fork of L.J.P. van der Maaten BH-tSNE implementation.
It has fixes to allow this to run in Python 3 and performance has been significantly increased with OpenMP parallelism. (see: tsne-perf-test)
Note: While Scikit-learn v0.17 This implementation performs significantly faster than scikit-learn's. If you need speed, use this.
Algorithms
Barnes-Hut-SNE
A python (cython) wrapper for Barnes-Hut-SNE aka fast-tsne.
We branched 10XDev's implementation and openmp enabled the code.
Installation
This library has been added to pypi as tsne-mp
pip install tsne-mp
Usage
Basic usage:
from tsne import bh_sne
X_2d = bh_sne(X)
Or, the wheels also contain an executable that can be used from the command-line as described in the original project.
Examples
More Information
See Barnes-Hut-SNE (2013), L.J.P. van der Maaten. It is available on arxiv.
Mulit-core
see: Python 3 - Multicore
Performance
This fork of the orignal project has a number of performance improvements resulting in an order of magnitude performance improvement when running on multi-core systems. See tsne-pref-test for performance comparisions of various implementaitons of tsne.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Hashes for tsne_mp-0.1.10rc1-cp37-cp37m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2524b1b5a3ae646850cde1d8fb70c0531e0a3f854cfd3b2cfffcfcfedefee4d8 |
|
MD5 | 93db1c6f6a64e5ceb87412b96d486c5d |
|
BLAKE2b-256 | 13769cae9454b6e3d06c4148475a1e118c59e79d8492236315d11df6b0d76145 |
Hashes for tsne_mp-0.1.10rc1-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8a1b7708daf0212d46f95c41d82a1373fd890287af4a0af4f2dc6acceb7a00a |
|
MD5 | 10101c3f233a4761499aa990c671d691 |
|
BLAKE2b-256 | 7fec038b0f0f4a9f5cd715f9cdecaa8d100a205590143440263bba29d4e9fa6c |
Hashes for tsne_mp-0.1.10rc1-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 33b2e90c0e7fa7506fa8ade82dc31a4295287d2ad0109f96bfe5a377030d6894 |
|
MD5 | 9592b574a4641a7b2d1ca7ff32ee9f85 |
|
BLAKE2b-256 | 3332fff118ef70b20bdb39a7ed04314678fca5be6bd3a5df1c775d615aca3a89 |
Hashes for tsne_mp-0.1.10rc1-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec5fd7062121f69dceaee2b432b062857d8e15d3ad9df97a8d0cf3ee6ef3d698 |
|
MD5 | bda96e3a34f041daf886a3f5b7957336 |
|
BLAKE2b-256 | 6ac448ee0f440b326e7ab47685c0747ae8499cf747e62370f8aea4b179884f02 |
Hashes for tsne_mp-0.1.10rc1-cp35-cp35m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f80ea6e81db2cd23250a45f24913baf89a90336308c4fd367bea051c7cef84e |
|
MD5 | 7ceee241e4d7f024626c52767fd825d2 |
|
BLAKE2b-256 | c8aa042227ff445ba849d7369efa943e803d6aeaa1a163b3826b68ebb075b4c7 |
Hashes for tsne_mp-0.1.10rc1-cp35-cp35m-macosx_10_6_intel.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fcfcd4a57431375a8baed0cf7fcf9de7911ba78879aa732da073b6d14207044c |
|
MD5 | 959829b388cac86036062494cca76a50 |
|
BLAKE2b-256 | f1b687848d913d9bfa6e11435e65aa4f1cc07e5d870698dfdd95553d595e3113 |