Note
This is one of 203 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! ❤️
Highly configurable t-SNE implementation for arbitrary dimensions.
Current implementation (as of 07/2021) is based in principle on:
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)
ALPHA - bleeding edge / work-in-progress
Search or submit any issues for this package
yarn add @thi.ng/tsne
ESM 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.46 KB
Note: @thi.ng/api is in most cases a type-only import (not used at runtime)
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 |
TODO
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
}
© 2021 - 2025 Karsten Schmidt // Apache License 2.0