Skip to content
Back to skills

Supervised Density

ASecurity

"Supervised, semi-supervised, densMAP, clustering, and outlier

  • 247 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 9, 2026
datapythongobashapi

Works with

  • api

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill supervised-density --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Supervised Density?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Supervised Density
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-supervised-density/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-supervised-density)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: supervised-density
description: "Supervised, semi-supervised, densMAP, clustering, and outlier
  workflows for umap-learn."
disable-model-invocation: true
metadata:
  disco-role: operating
license: BSD 3-Clause
---

# supervised-density

Use this sub-skill when labels, partial labels, density preservation, or
clustering/outlier interpretation are central to a `umap.UMAP` task.

## Route here for

- Supervised `UMAP.fit(X, y=...)` or `fit_transform(X, y=...)`.
- Semi-supervised class labels, including the categorical `-1` unlabeled
  convention.
- Choosing `target_metric`, `target_weight`, `target_n_neighbors`, and
  `target_metric_kwds`.
- `densmap=True`, `dens_lambda`, `dens_frac`, `dens_var_shift`, and
  `output_dens=True`.
- UMAP-assisted KMeans/HDBSCAN clustering, LOF-style outlier review, and
  exploratory-analysis caveats.

## Route elsewhere

- Base estimator mechanics, transform/inverse/update, sparse/precomputed data,
  and general distance metrics: use the `core-embedding` sub-skill.
- Plot rendering and `umap.plot`: use the `plotting-diagnostics` sub-skill.
- Aligned multi-slice embeddings: use the `aligned-composition` sub-skill.
- TensorFlow/Keras ParametricUMAP: use the `parametric-umap` sub-skill.

## Read first

- [Supervised and density workflows](references/workflows.md)
- [Target and densMAP API reference](references/api-reference.md)
- [Troubleshooting](references/troubleshooting.md)

## Safe smoke helper

Run the bundled helper from this sub-skill directory for a no-network toy-data
check:

```bash
python scripts/supervised_density_smoke.py --help
```

Use options such as `--partial-label-fraction`, `--densmap`, `--output-dens`,
`--cluster-method kmeans`, and `--outlier-check` to exercise harder cases.

## Operating cautions

- Labels guide topology; they do not guarantee better scientific structure.
- densMAP preserves relative local-density information more than standard UMAP,
  but costs extra runtime and has transform/inverse limitations.
- Clusters and outliers from a UMAP embedding are exploratory until validated
  against labels, stability, original-space neighbors, or domain evidence.

Files in this skill

  • SKILL.md2.1 KB
  • references/api-reference.md4.4 KB
  • references/troubleshooting.md4.2 KB
  • references/workflows.md6.3 KB
  • scripts/supervised_density_smoke.py11 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.