Skip to main content

tsnex

t-SNEx is a high-performance Python library for t-SNE, built on JAX for fast, scalable dimensionality reduction. It utilizes JIT compilation, automatic differentiation, and hardware acceleration to efficiently process high-dimensional data for visualization and clustering.

Installation

Use the package manager pip to install tsnex.

pip install tsnex

Usage

import tsnex

# Generate some high-dimensional data
key = jax.random.key(0)
X = jax.random.normal(key, shape=(10_000, 50))

# Perform t-SNE dimensionality reduction
X_embedded = tsnex.transform(X, n_components=2)

Contributing

We welcome contributions to TSNEx! Whether it's adding new features, improving documentation, or reporting issues, please feel free to make a pull request and/or open an issue.

Citation

If you use tsnex in your research and need to reference it, please cite it as follows:

@software{alonso_tsnex,
  author = {Alonso, Albert},
  title = {tsnex: Minimal t-distributed stochastic neighbor embedding (t-SNE) implementation in JAX},
  url = {https://github.com/alonfnt/tsnex},
  version = {0.0.2}
}

License

TSNEx is licensed under the MIT License. See the LICENSE file for more details.

Metadata

Release files for tsnex 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tsnex 0.0.3
File Size Uploaded Provenance Actions
tsnex-0.0.3.tar.gz 5.1 kB With provenance Details for tsnex-0.0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for tsnex 0.0.3
File Interpreter ABI Platform Actions
tsnex-0.0.3-py3-none-any.whl Python 3 none any Details for tsnex-0.0.3-py3-none-any.whl

Total release size: 11.3 kB

Release files / tsnex-0.0.3.tar.gz

Download URL tsnex-0.0.3.tar.gz
Size 5.1 kB
Tags Source
SHA-256 checksum
How to use checksums
e119b30a89125ba490bb5da1fe323019add2c011a6b96b1c87937ad0906067fe
BLAKE2b-256 checksum
How to use checksums
d82d3ee5c78a4fd1662cd280905ada9ddbb40ac40a1b7f891364e1ed004d881c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 28, 2025.

Transparency log

Release files / tsnex-0.0.3-py3-none-any.whl

Download URL tsnex-0.0.3-py3-none-any.whl
Size 6.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6e05918b2b6252ae16f0fec88f84ba87240e58db7f36491fedae3d44b4574bbe
BLAKE2b-256 checksum
How to use checksums
2c065bb884f3f8dbc0dec52729e3ac1a88d97dfd2a3d1cb73e5bc495f2a2fc15
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 28, 2025.

Transparency log

Security for tsnex 0.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for tsnex-0.0.3.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 28, 2025.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page