High Performance TSNE implementations for python
Project description
Python TSNE implementation utilizing openmp for performacne
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.10-cp37-cp37m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 83af104fcc1690107fcbd5eaf2ae75a4bc01fbb933b8db02f42a770deca96b74 |
|
MD5 | 0fc5d06a865403933c21565aaa3e7b16 |
|
BLAKE2b-256 | fa29aca7db975cbb55cc002621deba5f0cc64a90847c5bb5393d5a4bf9bf3c44 |
Hashes for tsne_mp-0.1.10-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56d0186c963cf662cc96ff1797a234753f3a14fff4214f2bf1e236429466bb1d |
|
MD5 | 0f4127c1df1f9824079cda059a6c6c72 |
|
BLAKE2b-256 | 52a679eefb99ce05553b558855033d1f050db1cef24fb2f7efcefe3ad6e9cdda |
Hashes for tsne_mp-0.1.10-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2ddc48e25e4fd9ef7ef5061abad8e5b7ed44c082ab6b9b93bcbb9bde64d2840 |
|
MD5 | 6f58e2a40d016bd9105069a77b7623dc |
|
BLAKE2b-256 | 0ed538379266f2a27ab2e5a39bf63627e19f7d042377668e552dbe49abcafd3a |
Hashes for tsne_mp-0.1.10-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | df9e93bf7ae4bbfd6a6e771efd6ffd6577b52acbdd87bb8b9a88bbf5acb39237 |
|
MD5 | 343668e623e774ecf0b1c415db26c783 |
|
BLAKE2b-256 | 023dd88b0908f7c7365bf54a130174b3f8fb2447d40a3967505a7885f9b4a124 |
Hashes for tsne_mp-0.1.10-cp35-cp35m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32cd66c8ad85d235c5417895c3591ef71169988b707c88cb6ae3f7cd702ecae2 |
|
MD5 | 93dcb44e3fd06c1416d7d6219664be5e |
|
BLAKE2b-256 | fe8ded4bb9f66e491c912b568d9d38f98dfe320c0cd5f424bd22e2379a0e92ed |
Hashes for tsne_mp-0.1.10-cp35-cp35m-macosx_10_6_intel.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 29eb5d2bcacf0c9829f7b83011855397fd437efb2a92353727beb75b04fa5b2e |
|
MD5 | 2e0c5b0bde9c6b574fce211189607084 |
|
BLAKE2b-256 | 1b506f051edf3ae3733f17d9a7b3195f25a3f62c426895453c224a2f05f1185d |