sklears-manifold
Latest release:
0.2.0(July 14, 2026). See the workspace release notes for highlights and upgrade guidance.
Overview
sklears-manifold implements manifold learning, nonlinear dimensionality reduction, and embedding algorithms mirroring scikit-learn’s manifold module.
Key Features
- Algorithms: t-SNE, UMAP, Isomap, Locally Linear Embedding, Spectral Embedding, MDS.
- Performance: Barnes-Hut t-SNE, GPU-accelerated pairwise distances, HNSW-backed approximate kNN search for Euclidean/Cosine metrics (
gpufeature, viaoxicuda-manifold), and parallel exact kNN search (rayon). - Visualization: Embedding utilities that integrate with
sklears-inspectionand Python plotting stacks. - Pipeline Support: Works seamlessly with preprocessing, decomposition, and clustering crates.
Quick Start
use TSNE;
use ;
use array;
let x = array!;
let tsne = TSNEnew
.n_components
.perplexity
.n_iter;
let fitted = tsne.fit?;
let embedding = fitted.embedding;
Status
- Validated by 422 passing crate tests for
0.2.0(2 skipped). - Performance parity (and in many cases superiority) compared with scikit-learn’s manifold implementations.
- Upcoming tasks (GPU UMAP, streaming embeddings) tracked in
TODO.md.