Minimal t-distributed stochastic neighbor embedding (t-SNE) implementation in JAX.
Project description
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 file for more details.
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 Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tsnex-0.0.3.tar.gz.
File metadata
- Download URL: tsnex-0.0.3.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e119b30a89125ba490bb5da1fe323019add2c011a6b96b1c87937ad0906067fe
|
|
| MD5 |
8623218f2ca20e007bf0690a9f841daa
|
|
| BLAKE2b-256 |
d82d3ee5c78a4fd1662cd280905ada9ddbb40ac40a1b7f891364e1ed004d881c
|
Provenance
The following attestation bundles were made for tsnex-0.0.3.tar.gz:
Publisher:
python-publish.yml on alonfnt/tsnex
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tsnex-0.0.3.tar.gz -
Subject digest:
e119b30a89125ba490bb5da1fe323019add2c011a6b96b1c87937ad0906067fe - Sigstore transparency entry: 175388632
- Sigstore integration time:
-
Permalink:
alonfnt/tsnex@c758a8bbbd1c05f8c28430af2be367c6a199506e -
Branch / Tag:
refs/tags/0.0.3 - Owner: https://github.com/alonfnt
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@c758a8bbbd1c05f8c28430af2be367c6a199506e -
Trigger Event:
release
-
Statement type:
File details
Details for the file tsnex-0.0.3-py3-none-any.whl.
File metadata
- Download URL: tsnex-0.0.3-py3-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6e05918b2b6252ae16f0fec88f84ba87240e58db7f36491fedae3d44b4574bbe
|
|
| MD5 |
c49b0faba58b93f0b522656693896d38
|
|
| BLAKE2b-256 |
2c065bb884f3f8dbc0dec52729e3ac1a88d97dfd2a3d1cb73e5bc495f2a2fc15
|
Provenance
The following attestation bundles were made for tsnex-0.0.3-py3-none-any.whl:
Publisher:
python-publish.yml on alonfnt/tsnex
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tsnex-0.0.3-py3-none-any.whl -
Subject digest:
6e05918b2b6252ae16f0fec88f84ba87240e58db7f36491fedae3d44b4574bbe - Sigstore transparency entry: 175388634
- Sigstore integration time:
-
Permalink:
alonfnt/tsnex@c758a8bbbd1c05f8c28430af2be367c6a199506e -
Branch / Tag:
refs/tags/0.0.3 - Owner: https://github.com/alonfnt
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@c758a8bbbd1c05f8c28430af2be367c6a199506e -
Trigger Event:
release
-
Statement type: