@thi.ng/tsne
v0.1.47
Published
Highly configurable t-SNE implementation for arbitrary dimensions
Maintainers
Readme
[!NOTE] This is one of 211 standalone projects, maintained as part of the @thi.ng/umbrella monorepo and anti-framework.
🚀 Please help me to work full-time on these projects by sponsoring me on GitHub. Thank you! ❤️
About
Highly configurable t-SNE implementation for arbitrary dimensions.
Current implementation (as of 07/2021) is based in principle on:
- https://github.com/karpathy/tsnejs
Most key functionality has been refactored/rewritten to use pre-existing functionality provided by other thi.ng packages.
~~Furthermore, this implementation has been extended to use https://thi.ng/geom-accel to optimize spatial lookups~~. (FIXME currently disabled/removed again)
Status
ALPHA - bleeding edge / work-in-progress
Search or submit any issues for this package
Installation
yarn add @thi.ng/tsneESM import:
import * as tsne from "@thi.ng/tsne";Browser ESM import:
<script type="module" src="https://esm.run/@thi.ng/tsne"></script>For Node.js REPL:
const tsne = await import("@thi.ng/tsne");Package sizes (brotli'd, pre-treeshake): ESM: 1.51 KB
Dependencies
Note: @thi.ng/api is in most cases a type-only import (not used at runtime)
Usage examples
One project in this repo's /examples directory is using this package:
| Screenshot | Description | Live demo | Source | |:--------------------------------------------------------------------------------------------------------------------|:----------------------------------------|:--------------------------------------------------|:-------------------------------------------------------------------------------| | | Animated t-SNE visualization of 4D data | Demo | Source |
API
TODO
Authors
If this project contributes to an academic publication, please cite it as:
@misc{thing-tsne,
title = "@thi.ng/tsne",
author = "Karsten Schmidt",
note = "https://thi.ng/tsne",
year = 2021
}License
© 2021 - 2025 Karsten Schmidt // Apache License 2.0
