Skip to main content
skill CX Codex

umap-learn — Claude Code skill: what it does, how to install

This skill guides UMAP-based dimensionality reduction, 2D/3D embeddings, and clustering preparation. Use it when an agent needs supervised or semi-supervised UMAP workflows.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add K-Dense-AI/scientific-agent-skills --skill umap-learn -a claude-code
Open on GitHub

What umap-learn does

The skill covers umap-learn for nonlinear dimensionality reduction, 2D/3D embeddings, and feature preparation before clustering. It guides parameter choices for n_neighbors, min_dist, n_components, and metric, with separate fit and transform steps through the scikit-learn estimator interface. Label-aware workflows include supervised and semi-supervised UMAP, DensMAP, AlignedUMAP, and Parametric UMAP.

Examples use StandardScaler and Matplotlib alongside UMAP. Python 3.9+ and umap-learn are required; HDBSCAN, Matplotlib, and TensorFlow with Keras 3 are optional for specific workflows. Network access is needed to install the package, while local fitting does not need it.

Choose the embedding size according to the task: 2–3 dimensions are used for visualization, while 5–10 can support clustering preprocessing. UMAP axes, island areas, and gaps between groups do not carry calibrated physical or probabilistic meaning. For predictive work, fit preprocessing and embeddings on training data only.

What it helps with

  • build 2D and 3D embeddings from feature data
  • prepare higher-dimensional embeddings for clustering
  • tune n_neighbors, min_dist, and metric
  • guide embeddings with supervised labels
  • compare local and broader neighborhood structure

Example prompts for the agent

  • Create a 2D UMAP embedding for data, choose suitable parameters, and plot the result.
  • Prepare these features for clustering with 10 UMAP components and explain the metric choice.
  • Run supervised UMAP with labels while keeping test data outside the fit.

How to install umap-learn

1Skills CLI (Vercel)

npx skills add K-Dense-AI/scientific-agent-skills --skill umap-learn -a claude-code

2Manually: put the files in place

~/.claude/skills/umap-learn/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/umap-learn/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about umap-learn

How do I install umap-learn in Claude Code?

Run npx skills add K-Dense-AI/scientific-agent-skills --skill umap-learn -a claude-code, then check ~/.claude/skills/umap-learn/SKILL.md.

What does the umap-learn skill do?

It helps apply UMAP for nonlinear dimensionality reduction, 2D/3D visualization, clustering preparation, and label-aware embeddings. It also covers DensMAP, AlignedUMAP, and Parametric UMAP.

What does umap-learn require?

It requires Python 3.9+ and umap-learn. HDBSCAN, Matplotlib, and TensorFlow with Keras 3 may be needed for specific examples, and installation needs network access.

Similar skills

Everything for AI and ML →

From the same set159

markitdown A Claude Code skill that runs Microsoft MarkItDown over PDFs, Office files, HTML and CSV so the text ends up as Markdown ready for search or RAG. CX Codex +1 2,100installs statsmodels This skill teaches the agent to fit and diagnose Python statistical models: OLS, GLM, discrete outcomes and time series. Useful when you need coefficients plus a check on model assumptions. CX Codex +1 2,100installs exploratory-data-analysis Runs bounded local exploratory analysis on scientific files like CSV, NumPy, and HDF5. It profiles datasets safely without network access or raw data leakage. CX Codex +1 2,100installs parallel-web Unified skill for web search, PDF extraction, deep research, and entity enrichment via parallel-cli. Ideal for technical research and scientific sources. CX Codex +1 2,000installs optimize-for-gpu Accelerates data-heavy Python workloads on NVIDIA GPUs and benchmarks the end-to-end speedup against the CPU baseline. CX Codex +1 2,000installs get-available-resources This skill inspects CPU, memory, disk, scheduler, container and accelerator limits for the current process. Use it before planning a resource-sensitive local workload. CX Codex +1 2,000installs matlab A skill for designing and reviewing numerical code in MATLAB and GNU Octave. Useful when you need to inspect a stranger's .m file or prepare a reproducible project. CX Codex +1 2,000installs market-research-reports Builds evidence-traceable market reports and models assumption-driven TAM, SAM, and SOM forecast scenarios. CX Codex +1 2,000installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor