umap-learn

Reduce high-dimensional data to low-dimensional embeddings using UMAP.

1|Updated Mar 11, 2026
One-click install
npx skills add https://github.com/SciMate-AI/scicli --skill umap-learn-scimate-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: umap-learn
Source: https://github.com/SciMate-AI/scicli/tree/main/internal/skills/bundled/claude-scientific-skills/skills/umap-learn
Command: npx skills add https://github.com/SciMate-AI/scicli --skill umap-learn-scimate-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Dimensionality reduction for high-dimensional data, enabling fast visualization, clustering preparation, and feature engineering in ML pipelines.

Core Features & Use Cases

  • Dimensionality reduction to 2D/3D embeddings for visualization and downstream tasks.
  • Clustering preprocessing compatibility (e.g., with HDBSCAN) to reveal structure.
  • Support for supervised and semi-supervised embeddings, Parametric UMAP, inverse transforms, and cross-dataset alignment.

Quick Start

Fit a basic UMAP embedding on your data and plot the 2D embedding.

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 to 2D or 3D for visualization?

Dimensionality reduction using UMAP transforms high-dimensional data into fast, low-dimensional embeddings suitable for 2D or 3D visualization. You can configure parameters like n_neighbors, min_dist, n_components, and metric to shape the resulting embedding.

Can I use UMAP embeddings as preprocessing for clustering with HDBSCAN?

UMAP embeddings serve as effective clustering preprocessing, reducing dimensionality to reveal underlying data structure before applying density-based clustering. This workflow integrates smoothly into standard machine learning pipelines to prepare features for HDBSCAN.

What is the best way to align embeddings across multiple related datasets?

Cross-dataset alignment maps related high-dimensional datasets into a shared low-dimensional embedding space using UMAP. This ensures structural consistency across different data sources, allowing accurate comparative visualization and analysis.

Does this support supervised learning and semi-supervised embeddings?

Supervised and semi-supervised embeddings are supported, allowing UMAP to utilize label information during the dimensionality reduction process. This guides the embedding to separate labeled classes while maintaining topological structure for unlabeled points.

How does Parametric UMAP and inverse_transform work for feature engineering?

Parametric UMAP uses neural networks to learn the embedding function, enabling inverse_transform to map low-dimensional points back to the original high-dimensional space. This provides a trained model for embedding new data and generating feature representations.

When should I adjust n_neighbors and min_dist parameters for dimensionality reduction?

Adjust n_neighbors to control local versus global structure preservation and min_dist to manage embedding compactness during dimensionality reduction. Tuning these parameters balances cluster tightness against the broader topological layout in the visualization.