UMAP dimensionality reduction for visualization, clustering prep, and feature engineering. Fast nonlinear manifold learning preserving local and global structure. Standard UMAP (fit/transform, sklearn-compatible), supervised/semi-supervised, Parametric UMAP (NN encoder/decoder, TensorFlow), DensMAP (density), AlignedUMAP (temporal/batch). 15+ distance metrics, custom Numba metrics, precomputed distances. For linear reduction use PCA; for neighborhood graphs use sklearn NearestNeighbors.
SkillScore96Maintained
Automatic
◆Data Analyst pack
Last verified 8/23/2026
What it changes
Passed 22 of 23 test cases with the skill, and 19 of 23 without it.
Without skill83%
With skill96%
Checks it passed that the model alone missed
Accesses embedded space density estimates via rad_emb_
Accesses original space density estimates via rad_orig_
Applies feature scaling using StandardScaler prior to fitting UMAP
and 1 more in the full report
3 fixed19 passed either way1 still failing0 broke
Pass-rate lift
+13 pp
Tokens
+305%
Agent turns
0%
Response time
-31%
Model gemini-3.6-flashMeasured 8/23/2026v122 of 23 cases passed with skill
Tokens, turns and time describe resource use, not a dollar price.
See it in action
One of 3 test cases the skill fixed. Same model, same prompt, with and without the skill.
1 of 3
Prompt
I have a tabular dataset with features spanning drastically different numeric scales (e.g., income in thousands, age in years). Before passing this matrix to UMAP, what preprocessing step should be applied?
What was checked, without and with the skill
Checked
Without skill
With skill
Applies feature scaling using StandardScaler prior to fitting UMAP
Missed
Passed
case-05 · gemini-3.6-flash · 8/23/2026 · answers are capped and redacted
What's inside
The instructions your model reads when the skill loads.
SKILL.md488 lines2 files
UMAP-Learn
Overview
UMAP (Uniform Manifold Approximation and Projection) is a dimensionality reduction algorithm for visualization and general non-linear dimensionality reduction. It is faster than t-SNE, scales to larger datasets, preserves both local and global structure, and supports supervised learning and embedding of new data points.
When to Use
Reducing high-dimensional data to 2D/3D for visualization
Preprocessing for density-based clustering (HDBSCAN, DBSCAN)
Feature engineering in ML pipelines (transform new data into learned embedding)
Supervised/semi-supervised embedding with partial labels
Tracking embeddings across time points or batches (AlignedUMAP)
Density-preserving embeddings (DensMAP)
Neural network-based embedding with custom architectures (Parametric UMAP)
For linear dimensionality reduction use PCA (scikit-learn)
For neighborhood-graph construction without embedding use scikit-learn NearestNeighbors
Critical: Always standardize features before applying UMAP to ensure equal weighting across dimensions.
Quick Start
import umap
import numpy as np
from sklearn.preprocessing import StandardScaler
from sklearn.datasets import load_digits
# Load and scale data
X, y = load_digits(return_X_y=True)
X_scaled = StandardScaler().fit_transform(X)