Skip to main content

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.

Project description

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)


Build Status Documentation Status License Badge

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].

Macosko 2015 mouse retina t-SNE embedding

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

PyPi package

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

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

opentsneslim-1.0.6.tar.gz (255.3 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

opentsneslim-1.0.6-cp313-cp313-musllinux_1_2_x86_64.whl (5.2 MB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ x86-64

opentsneslim-1.0.6-cp313-cp313-musllinux_1_2_aarch64.whl (5.0 MB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ ARM64

opentsneslim-1.0.6-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.6 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

opentsneslim-1.0.6-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (4.3 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ ARM64

opentsneslim-1.0.6-cp312-cp312-musllinux_1_2_x86_64.whl (5.2 MB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

opentsneslim-1.0.6-cp312-cp312-musllinux_1_2_aarch64.whl (5.0 MB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ ARM64

opentsneslim-1.0.6-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.6 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

opentsneslim-1.0.6-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (4.3 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ ARM64

opentsneslim-1.0.6-cp311-cp311-musllinux_1_2_x86_64.whl (5.3 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ x86-64

opentsneslim-1.0.6-cp311-cp311-musllinux_1_2_aarch64.whl (5.1 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

opentsneslim-1.0.6-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.6 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

opentsneslim-1.0.6-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (4.4 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64

opentsneslim-1.0.6-cp310-cp310-musllinux_1_2_x86_64.whl (4.3 MB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ x86-64

opentsneslim-1.0.6-cp310-cp310-musllinux_1_2_aarch64.whl (4.1 MB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ ARM64

opentsneslim-1.0.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.7 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

opentsneslim-1.0.6-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.5 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ ARM64

File details

Details for the file opentsneslim-1.0.6.tar.gz.

File metadata

  • Download URL: opentsneslim-1.0.6.tar.gz
  • Upload date:
  • Size: 255.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for opentsneslim-1.0.6.tar.gz
Algorithm Hash digest
SHA256 36ec54c134a5f4f85fedfc7eb8d1c5cda2db9721269d5ace4e7e996c9e165ca8
MD5 4c45e3a0fa1c4f3c370ff636e364fc98
BLAKE2b-256 8f9458d3ce14523e497e9961aa8e4af9d6844cb493c97d9aa1eed56630ad67fc

See more details on using hashes here.

File details

Details for the file opentsneslim-1.0.6-cp313-cp313-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for opentsneslim-1.0.6-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 7e4e1d36617590d9e0b124b0c40d11bccef3490257ade214ee681f570bd3be07
MD5 c6c5dfc1530412b1dc872efd0167a7bf
BLAKE2b-256 f0de8027beb2636263126ec218f980082bc2016a7e972688575e14af74faa4bd

See more details on using hashes here.

File details

Details for the file opentsneslim-1.0.6-cp313-cp313-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for opentsneslim-1.0.6-cp313-cp313-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 0e79098d9dab4a40329a63397e74b03c85c50272fbdf7cd9fa434d7449c25aad
MD5 30bb27f3d39c1e9156abeb840878e9d8
BLAKE2b-256 6906350be18d67ae8a2491f593b7ddd889d130b1b195fac1687b7fe1f10623ff

See more details on using hashes here.

File details

Details for the file opentsneslim-1.0.6-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for opentsneslim-1.0.6-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 58e864c7be90f5e25ece05cb1c632e0ee11c27b3c08f6405ab79b7eae11f7873
MD5 54e0d94e8b738743ac066e3f6b70f812
BLAKE2b-256 2acfbd70c16674dec82e33f63eac24f7c9d5a4b80cd1fdc970d1843f7a7d3eda

See more details on using hashes here.

File details

Details for the file opentsneslim-1.0.6-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for opentsneslim-1.0.6-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 5883e8aaaecd1ac8faaf1b0966ff2048e84af82f48d2c23847f59d22bdc07f72
MD5 5b2e3380ff3a2c7aad56b3dc059ef07d
BLAKE2b-256 b515d9f58c043964a3d486b47c13826aa822c7c7631d82ba089fc047b9d73509

See more details on using hashes here.

File details

Details for the file opentsneslim-1.0.6-cp312-cp312-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for opentsneslim-1.0.6-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 b9af25c3791f1dfa3fb608808be2434e01ac6a79727ee35bff0edd874bca3839
MD5 a0fb2e3b02c924dc17c8884df7faa819
BLAKE2b-256 5c4bb610c45222428af92617a3b8c746ebee1da714d6ffc83751aa39998becaa

See more details on using hashes here.

File details

Details for the file opentsneslim-1.0.6-cp312-cp312-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for opentsneslim-1.0.6-cp312-cp312-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 4cd2db2adf20f0a6ae85d8a7a7b7b8b19dc4ab50bfafb19720005dbd64830670
MD5 f9ee6af4c67586148cd877413ac01767
BLAKE2b-256 5abe74f5abc1b3938581ef5c03254eba5662edde88d79e0d1bd49ba2803b8d3e

See more details on using hashes here.

File details

Details for the file opentsneslim-1.0.6-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for opentsneslim-1.0.6-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8d5e73ba3d359e4569d157453f8894caf5db7666f0647551962c6bd26347155a
MD5 6cc7e56f948dcbc9671e24647d543de0
BLAKE2b-256 131a70c8eefa99b6d88c7d189841fbb50538d55f7c1d6252b8cb39962ff69b88

See more details on using hashes here.

File details

Details for the file opentsneslim-1.0.6-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for opentsneslim-1.0.6-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 48f1342b26ffe3d13e6ab8c0520a6ffa91656ff7b594c49dc7e55ef0bfe2a8b0
MD5 4a17401eea47f82a73d9df76a7bf9130
BLAKE2b-256 c767c956d80a1ea2c48b37d64dc061a80e91ef30de3d1f77896c1dbdf0014667

See more details on using hashes here.

File details

Details for the file opentsneslim-1.0.6-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for opentsneslim-1.0.6-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 4a026701922bf24d7fe59f9de08b1ca3d132fbf20bb3c94082953065bf13e6b9
MD5 9a738f94866329a95e4cc66dc2e9e163
BLAKE2b-256 f11eff5c9a330697683beb93f1b837da3674b73e5013ad30be5862cf22c68e89

See more details on using hashes here.

File details

Details for the file opentsneslim-1.0.6-cp311-cp311-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for opentsneslim-1.0.6-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 58b45fed2e43e713935f3ca04c382452e0eeea939d11852f87f89047f8e8e5ef
MD5 8c69364a268d846fc11a16c3cc67477b
BLAKE2b-256 9320b9102bef6c16981569acdddd4ddd6b5b027bac8cbc8fca7bc44cdc4aaa13

See more details on using hashes here.

File details

Details for the file opentsneslim-1.0.6-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for opentsneslim-1.0.6-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 cdaf1d385c7377a8535d428a38efba1ef035379fd2ec09d1358a412886a25c7d
MD5 d9396ded3a3fbf9c00f3f48b7fb6d26c
BLAKE2b-256 b7e46f3cf2ae8768dd1c2ee3544e05cdd25ff61df01e92ded4e8f42cea2b5de3

See more details on using hashes here.

File details

Details for the file opentsneslim-1.0.6-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for opentsneslim-1.0.6-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 c5e7f525e56437e01d0836293eb1f7f16e793f905c375451d8edbd9fdf52c17c
MD5 d28d77eb349da19a79d8707b3bcad745
BLAKE2b-256 75c8959a5b703a047b466d46c947648957730d7d335ee44c0b57b858ccd66668

See more details on using hashes here.

File details

Details for the file opentsneslim-1.0.6-cp310-cp310-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for opentsneslim-1.0.6-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 82613764318484ea66fff815f355ef3b0b12ef2be5bc594915b3a280580273b2
MD5 b9be7a7d9719d9375b95c076fe65c613
BLAKE2b-256 8873d9cf0fbb5f8e7373fcc229cc5ad18392209d4512f604d54d6caaeb7ec51f

See more details on using hashes here.

File details

Details for the file opentsneslim-1.0.6-cp310-cp310-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for opentsneslim-1.0.6-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 9cdbe91fd21f014b2b401e4ca5c13428f71a23e38763a6bbd5e20392eec3eab0
MD5 97ad7e405103c96c2d5676261e3e704b
BLAKE2b-256 0bbf7c5b0531c62422b456329479e62683e96f7c66ea3a086b0bbb42854d4d0b

See more details on using hashes here.

File details

Details for the file opentsneslim-1.0.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for opentsneslim-1.0.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e0f85834f9ed838edcea4709b6d87b0bc65d393f9896626ee7932b05bfda1503
MD5 92a181629d305f10e97f43f7d4d45764
BLAKE2b-256 b406d31d13e6e78624abfa40df2b196107988db6e86c39879c647e5e0c68b6fd

See more details on using hashes here.

File details

Details for the file opentsneslim-1.0.6-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for opentsneslim-1.0.6-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 eac73c59638726c4bbcc3f86acd777ae1962b12b1db1a351cb8d2a519e85b630
MD5 63230563545fdbdb4a43ba8fa9cec9ed
BLAKE2b-256 f3bef9d8dde04dfc3f91005a32402b9076d2d4385419bcef7fdef56b25e93552

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