umap-learn Repo Skill
Use this repo skill when a task asks how to use umap-learn / umap for
Uniform Manifold Approximation and Projection: dimensionality reduction,
visualization embeddings, transform workflows, supervised UMAP, densMAP,
aligned embeddings, optional plotting, or optional ParametricUMAP.
Install and Import
pip install umap-learn
import umap
mapper = umap.UMAP()
Package facts:
- Distribution name:
umap-learn. - Import package:
umap. - Python requirement:
>=3.10in package metadata. - Base dependencies: numpy, scipy, scikit-learn, numba, pynndescent, and tqdm.
- No package console entry points are exposed; workflows are Python API based.
Optional extras:
pip install "umap-learn[plot]" # umap.plot helpers
pip install "umap-learn[parametric_umap]" # TensorFlow/Keras ParametricUMAP
pip install "umap-learn[tbb]" # optional CPU optimization