openTSNEslim
openTSNEslim is a slimmed down version of openTSNE that doesn’t require use of scikit-learn or scipy for inference. This is useful for creating a smaller bundle for deployment.
Forked repository create by Pavlin Poličar from https://github.com/pavlin-policar/openTSNE
openTSNE (original repository)
openTSNE is a modular Python implementation of t-Distributed Stochasitc Neighbor Embedding (t-SNE) [1], a popular dimensionality-reduction algorithm for visualizing high-dimensional data sets. openTSNE incorporates the latest improvements to the t-SNE algorithm, including the ability to add new data points to existing embeddings [2], massive speed improvements [3] [4] [5], enabling t-SNE to scale to millions of data points and various tricks to improve global alignment of the resulting visualizations [6].
A visualization of 44,808 single cell transcriptomes obtained from the mouse retina [7] embedded using the multiscale kernel trick to better preserve the global aligment of the clusters.
Installation
openTSNEslim can be installed on all supported versions of Python.
PyPi
openTSNEslim is also available through pip and can be installed with
pip install opentsneslim
A hello world example
Getting started with openTSNE is very simple. First, we’ll load up some data using scikit-learn
from sklearn import datasets
iris = datasets.load_iris()
x, y = iris["data"], iris["target"]
then, we’ll import and run
from openTSNEslim import TSNE
embedding = TSNE().fit(x)
Citation
If you make use of openTSNE for your work we would appreciate it if you would cite the paper
@article{Policar2024,
title={openTSNE: A Modular Python Library for t-SNE Dimensionality Reduction and Embedding},
author={Poli{\v c}ar, Pavlin G. and Stra{\v z}ar, Martin and Zupan, Bla{\v z}},
journal={Journal of Statistical Software},
year={2024},
volume={109},
number={3},
pages={1–30},
doi={10.18637/jss.v109.i03},
url={https://www.jstatsoft.org/index.php/jss/article/view/v109i03}
}
openTSNE implements two efficient algorithms for t-SNE. Please consider citing the original authors of the algorithm that you use. If you use FIt-SNE (default), then the citation is [5] below, but if you use Barnes-Hut the citations are [3] and [4].
References
Metadata
Release files for openTSNEslim 1.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| opentsneslim-1.0.6.tar.gz | 255.3 kB | Details |
Built distributions (wheels)
Total release size: 73.5 MB
Release files / opentsneslim-1.0.6.tar.gz
| Download URL | opentsneslim-1.0.6.tar.gz |
|---|---|
| Size | 255.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
36ec54c134a5f4f85fedfc7eb8d1c5cda2db9721269d5ace4e7e996c9e165ca8
|
|
BLAKE2b-256 checksum How to use checksums |
8f9458d3ce14523e497e9961aa8e4af9d6844cb493c97d9aa1eed56630ad67fc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.12
|
Release files / opentsneslim-1.0.6-cp313-cp313-musllinux_1_2_x86_64.whl
| Download URL | opentsneslim-1.0.6-cp313-cp313-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 5.2 MB |
| Tags | CPython 3.13 Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
7e4e1d36617590d9e0b124b0c40d11bccef3490257ade214ee681f570bd3be07
|
|
BLAKE2b-256 checksum How to use checksums |
f0de8027beb2636263126ec218f980082bc2016a7e972688575e14af74faa4bd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.12
|
Release files / opentsneslim-1.0.6-cp313-cp313-musllinux_1_2_aarch64.whl
| Download URL | opentsneslim-1.0.6-cp313-cp313-musllinux_1_2_aarch64.whl |
|---|---|
| Size | 5.0 MB |
| Tags | CPython 3.13 Linux musl 1.2+ ARM64 |
|
SHA-256 checksum How to use checksums |
0e79098d9dab4a40329a63397e74b03c85c50272fbdf7cd9fa434d7449c25aad
|
|
BLAKE2b-256 checksum How to use checksums |
6906350be18d67ae8a2491f593b7ddd889d130b1b195fac1687b7fe1f10623ff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.12
|
Release files / opentsneslim-1.0.6-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | opentsneslim-1.0.6-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 4.6 MB |
| Tags | CPython 3.13 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
58e864c7be90f5e25ece05cb1c632e0ee11c27b3c08f6405ab79b7eae11f7873
|
|
BLAKE2b-256 checksum How to use checksums |
2acfbd70c16674dec82e33f63eac24f7c9d5a4b80cd1fdc970d1843f7a7d3eda
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.12
|
Release files / opentsneslim-1.0.6-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | opentsneslim-1.0.6-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 4.3 MB |
| Tags | CPython 3.13 Linux glibc 2.17+ ARM64 |
|
SHA-256 checksum How to use checksums |
5883e8aaaecd1ac8faaf1b0966ff2048e84af82f48d2c23847f59d22bdc07f72
|
|
BLAKE2b-256 checksum How to use checksums |
b515d9f58c043964a3d486b47c13826aa822c7c7631d82ba089fc047b9d73509
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.12
|
Release files / opentsneslim-1.0.6-cp312-cp312-musllinux_1_2_x86_64.whl
| Download URL | opentsneslim-1.0.6-cp312-cp312-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 5.2 MB |
| Tags | CPython 3.12 Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
b9af25c3791f1dfa3fb608808be2434e01ac6a79727ee35bff0edd874bca3839
|
|
BLAKE2b-256 checksum How to use checksums |
5c4bb610c45222428af92617a3b8c746ebee1da714d6ffc83751aa39998becaa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.12
|
Release files / opentsneslim-1.0.6-cp312-cp312-musllinux_1_2_aarch64.whl
| Download URL | opentsneslim-1.0.6-cp312-cp312-musllinux_1_2_aarch64.whl |
|---|---|
| Size | 5.0 MB |
| Tags | CPython 3.12 Linux musl 1.2+ ARM64 |
|
SHA-256 checksum How to use checksums |
4cd2db2adf20f0a6ae85d8a7a7b7b8b19dc4ab50bfafb19720005dbd64830670
|
|
BLAKE2b-256 checksum How to use checksums |
5abe74f5abc1b3938581ef5c03254eba5662edde88d79e0d1bd49ba2803b8d3e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.12
|
Release files / opentsneslim-1.0.6-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | opentsneslim-1.0.6-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 4.6 MB |
| Tags | CPython 3.12 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
8d5e73ba3d359e4569d157453f8894caf5db7666f0647551962c6bd26347155a
|
|
BLAKE2b-256 checksum How to use checksums |
131a70c8eefa99b6d88c7d189841fbb50538d55f7c1d6252b8cb39962ff69b88
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.12
|
Release files / opentsneslim-1.0.6-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | opentsneslim-1.0.6-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 4.3 MB |
| Tags | CPython 3.12 Linux glibc 2.17+ ARM64 |
|
SHA-256 checksum How to use checksums |
48f1342b26ffe3d13e6ab8c0520a6ffa91656ff7b594c49dc7e55ef0bfe2a8b0
|
|
BLAKE2b-256 checksum How to use checksums |
c767c956d80a1ea2c48b37d64dc061a80e91ef30de3d1f77896c1dbdf0014667
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.12
|
Release files / opentsneslim-1.0.6-cp311-cp311-musllinux_1_2_x86_64.whl
| Download URL | opentsneslim-1.0.6-cp311-cp311-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 5.3 MB |
| Tags | CPython 3.11 Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
4a026701922bf24d7fe59f9de08b1ca3d132fbf20bb3c94082953065bf13e6b9
|
|
BLAKE2b-256 checksum How to use checksums |
f11eff5c9a330697683beb93f1b837da3674b73e5013ad30be5862cf22c68e89
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.12
|
Release files / opentsneslim-1.0.6-cp311-cp311-musllinux_1_2_aarch64.whl
| Download URL | opentsneslim-1.0.6-cp311-cp311-musllinux_1_2_aarch64.whl |
|---|---|
| Size | 5.1 MB |
| Tags | CPython 3.11 Linux musl 1.2+ ARM64 |
|
SHA-256 checksum How to use checksums |
58b45fed2e43e713935f3ca04c382452e0eeea939d11852f87f89047f8e8e5ef
|
|
BLAKE2b-256 checksum How to use checksums |
9320b9102bef6c16981569acdddd4ddd6b5b027bac8cbc8fca7bc44cdc4aaa13
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.12
|
Release files / opentsneslim-1.0.6-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | opentsneslim-1.0.6-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 4.6 MB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
cdaf1d385c7377a8535d428a38efba1ef035379fd2ec09d1358a412886a25c7d
|
|
BLAKE2b-256 checksum How to use checksums |
b7e46f3cf2ae8768dd1c2ee3544e05cdd25ff61df01e92ded4e8f42cea2b5de3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.12
|
Release files / opentsneslim-1.0.6-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | opentsneslim-1.0.6-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 4.4 MB |
| Tags | CPython 3.11 Linux glibc 2.17+ ARM64 |
|
SHA-256 checksum How to use checksums |
c5e7f525e56437e01d0836293eb1f7f16e793f905c375451d8edbd9fdf52c17c
|
|
BLAKE2b-256 checksum How to use checksums |
75c8959a5b703a047b466d46c947648957730d7d335ee44c0b57b858ccd66668
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.12
|
Release files / opentsneslim-1.0.6-cp310-cp310-musllinux_1_2_x86_64.whl
| Download URL | opentsneslim-1.0.6-cp310-cp310-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 4.3 MB |
| Tags | CPython 3.10 Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
82613764318484ea66fff815f355ef3b0b12ef2be5bc594915b3a280580273b2
|
|
BLAKE2b-256 checksum How to use checksums |
8873d9cf0fbb5f8e7373fcc229cc5ad18392209d4512f604d54d6caaeb7ec51f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.12
|
Release files / opentsneslim-1.0.6-cp310-cp310-musllinux_1_2_aarch64.whl
| Download URL | opentsneslim-1.0.6-cp310-cp310-musllinux_1_2_aarch64.whl |
|---|---|
| Size | 4.1 MB |
| Tags | CPython 3.10 Linux musl 1.2+ ARM64 |
|
SHA-256 checksum How to use checksums |
9cdbe91fd21f014b2b401e4ca5c13428f71a23e38763a6bbd5e20392eec3eab0
|
|
BLAKE2b-256 checksum How to use checksums |
0bbf7c5b0531c62422b456329479e62683e96f7c66ea3a086b0bbb42854d4d0b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.12
|
Release files / opentsneslim-1.0.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | opentsneslim-1.0.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 3.7 MB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
e0f85834f9ed838edcea4709b6d87b0bc65d393f9896626ee7932b05bfda1503
|
|
BLAKE2b-256 checksum How to use checksums |
b406d31d13e6e78624abfa40df2b196107988db6e86c39879c647e5e0c68b6fd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.12
|
Release files / opentsneslim-1.0.6-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | opentsneslim-1.0.6-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 3.5 MB |
| Tags | CPython 3.10 Linux glibc 2.17+ ARM64 |
|
SHA-256 checksum How to use checksums |
eac73c59638726c4bbcc3f86acd777ae1962b12b1db1a351cb8d2a519e85b630
|
|
BLAKE2b-256 checksum How to use checksums |
f3bef9d8dde04dfc3f91005a32402b9076d2d4385419bcef7fdef56b25e93552
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.12
|