Umap Learn
UMAP dimensionality reduction that serves visualization, clustering preprocessing, and supervised embeddings for high-dimensional data.
- CCM score
- 67 of 100
- skills.sh installs
- 222
- GitHub stars
- 34.3K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers parameter tuning for
n_neighbors,min_dist,n_components, andmetric, with starting values for each use case - Includes workflows for 2D/3D visualization, supervised and semi-supervised fitting with
ylabels, and parametric transform on new data - Enforces standardization of features before fitting, since unscaled dimensions distort the embedding
- Designed for users pairing UMAP with HDBSCAN clustering or feeding embeddings into downstream scikit-learn models
Install
$ npx -y skills add davila7/claude-code-templates --skill umap-learn -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
UMAP-Learn
Overview
UMAP (Uniform Manifold Approximation and Projection) is a dimensionality reduction technique for visualization and general non-linear dimensionality reduction. Apply this skill for fast, scalable embeddings that preserve local and global structure, supervised learning, and clustering preprocessing.
Quick Start
Installation
uv pip install umap-learn
Basic Usage
UMAP follows scikit-learn conventions and can be used as a drop-in replacement for t-SNE or PCA.
import umap
from sklearn.preprocessing import StandardScaler
# Prepare data (standardization is essential)
scaled_data = StandardScaler().fit_transform(data)
# Method 1: Single step (fit and transform)
embedding = umap.UMAP().fit_transform(scaled_data)
# Method 2: Separate steps (for reusing trained model)
reducer = umap.UMAP(random_state=42)
reducer.fit(scaled_data)
embedding = reducer.embedding_ # Access the trained embedding
Critical preprocessing requirement: Always standardize features to comparable scales before applying UMAP to ensure equal weighting across dimensions.
Typical Workflow
Details
- Repository
- github.com/davila7/claude-code-templates
- Category
- Data Science & Analytics
- First seen
- Jun 3, 2026
Questions
What does the umap-learn skill do for Claude Code?
The umap-learn skill guides the agent through UMAP, a nonlinear dimensionality reduction method for visualizing high-dimensional data in 2D or 3D. It also covers supervised and parametric UMAP and using UMAP as preprocessing before HDBSCAN clustering.
How do I install the umap-learn skill?
Run npx -y skills add davila7/claude-code-templates --skill umap-learn -y in your project. The skill then lets the agent apply UMAP embeddings with scikit-learn style code, with standardized features as the recommended first step.
Which skills lead the umap-learn skill in Data Science & Analytics?
umap-learn sits in the Data Science & Analytics category on Claude Marketplaces, alongside azure-kusto, analyze-project, run-train, explore-run and add-analytics-instrumentation. It is focused on one technique: UMAP embeddings, their parameters, and clustering preprocessing.
More from davila7/claude-code-templates
All 398- AWS Penetration Testing220
- Cellxgene Census220
- Clerk Auth220
- Kaizen220
- Lamindb219
- Nosql Expert219
- Pyopenms219
- Capa Officer218
- Ena Database218
- Cosmic Database217
- Histolab217
- Neuropixels Analysis217
- Pydeseq2217
- Benchling Integration216
- Hypogenic216
- Notion Template Business216
- Pennylane215
- Zinc Database215
- Cirq214
- Esm214
- Geniml214
- Matchms214
- Broken Authentication Testing213
- Linux Privilege Escalation213
Similar to Umap Learn
More Data Science & Analyticsfiftyone-embeddings-visualizationPluginvoxel51/fiftyone-skills48 starsVisualize datasets in 2D using embeddings with UMAP or t-SNE dimensionality reduction. Use when users want to explore dataset structure, find clusters in images
Dimensionality ReductionSkillaj-geddes/useful-ai-prompts430 installsReference guide and sklearn code for PCA, t-SNE, MDS, and feature selection on high-dimensional data.
Clustering AnalysisSkillaj-geddes/useful-ai-prompts464 installsGuide to unsupervised clustering with k-means, hierarchical, DBSCAN, and Gaussian mixture models in Python.
geopandasSkilldavila7/claude-code-templates408 installsPython library for vector geospatial work with reprojection, spatial joins, overlays, and mapping.
genimlSkilldavila7/claude-code-templates214 installsA machine-learning toolkit that learns embeddings of genomic regions, single cells, and metadata from BED files.
scikit-learnSkillk-dense-ai/scientific-agent-skills2.5K installsMachine learning in Python with scikit-learn covering supervised, unsupervised, evaluation, and pipeline workflows.