Agent skill

umap-learn

Use UMAP-learn for nonlinear dimensionality reduction, 2D/3D embeddings, clustering preprocessing, supervised or semi-supervised UMAP, DensMAP, AlignedUMAP, and Parametric UMAP workflows.

K-Dense-AIgithub.com/K-Dense-AIGitHub ↗
claude-codeMIT
Install
npx skills add K-Dense-AI/scientific-agent-skills --skill umap-learn --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 17 KB
Bundled scripts: none
Version: 1.1
Path: skills/umap-learn/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 32,619
Language: Python
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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 Current stable release: **umap-learn 0.5.12** (released April 2026). Requires Python 3.9+ and depends on `scikit-learn>=1.6`, `numba`, `pynndescent`, `numpy`, and `scipy`. Pin to a verified release: ```bash uv pip install umap-learn==0.5.12 ``` ### Basic Usage UMAP follows scikit-learn conventions and can be used as a drop-in replacement for t-SNE or PCA. ```python 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 ``` **Preprocessing requirement:** Match pr

What's inside
Steps it walks through
  1. Overview
  2. Quick Start
  3. Installation
  4. Basic Usage
  5. Typical Workflow
  6. Parameter Tuning Guide
  7. nneighbors (default: 15)
  8. mindist (default: 0.1)
  9. ncomponents (default: 2)
  10. metric (default: 'euclidean')
  11. Parameter Tuning Example
  12. Supervised and Semi-Supervised Dimension Reduction
  13. Supervised UMAP
  14. Semi-Supervised UMAP
Ships with 1 file
  • references/api_reference.md
Commands it runs
uv pip install umap-learn==0.5.12
uv pip install hdbscan
uv pip install "umap-learn[parametric-umap]==0.5.12"
Installs the TensorFlow-backed Parametric UMAP extra.
More from scientific-agent-skills
All skills →
About this skill
What does the umap-learn skill do?

Use UMAP-learn for nonlinear dimensionality reduction, 2D/3D embeddings, clustering preprocessing, supervised or semi-supervised UMAP, DensMAP, AlignedUMAP, and Parametric UMAP workflows.

How do I install it?

Run `npx skills add K-Dense-AI/scientific-agent-skills --skill umap-learn --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From K-Dense-AI/scientific-agent-skills, a repository with 32,619 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going