umap-learn

Transform high-dimensional data into low-dimensional embeddings preserving neighborhood structure.

21|2|Updated Dec 8, 2025
One-click install
npx skills add https://github.com/silverstein/claude-scientific-skills-desktop --skill umap-learn-silverstein
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: umap-learn
Source: https://github.com/silverstein/claude-scientific-skills-desktop/tree/main/corpus/umap-learn
Command: npx skills add https://github.com/silverstein/claude-scientific-skills-desktop --skill umap-learn-silverstein

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

UMAP dimensionality reduction turns complex, high-dimensional datasets into lower-dimensional embeddings that reveal structure for analysis and visualization without getting stuck in manual trial-and-error.

Core Features & Use Cases

  • Fast Nonlinear Embeddings: Create 2D/3D or higher-dimensional embeddings that preserve neighborhood structure for meaningful plots and downstream modeling.
  • Configurable for Visualization vs Clustering: Tune n_neighbors and min_dist differently to support clean separation for HDBSCAN-style clustering or smoother exploratory visualization.
  • Supervised/Semi-Supervised Options: Use labels (y) or partial labels (with -1) to guide embeddings for class separation when target information exists.

Quick Start

Use the UMAP embedding workflow on your dataset by standardizing features first, then run UMAP with n_neighbors=15 and min_dist=0.1 to produce a 2D embedding ready for plotting and inspection.

Frequently Asked Questions about umap-learn

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I reduce high-dimensional data for visualization and clustering preprocessing?

UMAP dimensionality reduction transforms high-dimensional data into low-dimensional embeddings that preserve neighborhood structure for exploratory visualization and clustering preprocessing. It creates 2D or 3D embeddings ready for plotting and downstream modeling.

What's the best way to configure UMAP parameters for clustering versus visualization?

For UMAP embeddings, tune n_neighbors and min_dist differently to support clean separation for HDBSCAN-style clustering or smoother exploratory visualization. Use n_neighbors=15 and min_dist=0.1 as a starting point for standard 2D plots.

Can I use supervised learning labels to guide dimensionality reduction?

UMAP supports supervised and semi-supervised embedding by using labels (y) or partial labels (with -1) to guide embeddings for class separation. This target-driven fitting helps when target information exists for your dataset.

Do I need to standardize inputs before running UMAP dimensionality reduction?

Standardizing features is required before running UMAP dimensionality reduction. You must standardize your dataset first, then apply UMAP with configured parameters like n_neighbors, min_dist, n_components, and metric to produce meaningful embeddings.

Does UMAP work with scikit-learn for feature engineering and downstream classifiers?

UMAP integrates with scikit-learn workflows by producing low-dimensional embeddings for feature engineering and downstream classifiers. It supports fit/transform operations to generate features that preserve neighborhood structure for modeling tasks.