Supervised density

From lza6/Armor-piercing-system-prompts · View interactive version

Supervised density is an AI agent skill from the GitHub repository lza6/Armor-piercing-system-prompts. Supervised, semi-supervised, densMAP, clustering, and outlier workflows for umap-learn.

How to use this skill

Skill file

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

convention.

target_metric_kwds.

output_dens=True.

exploratory-analysis caveats.

Route elsewhere

and general distance metrics: use the core-embedding sub-skill.

Read first

Safe smoke helper

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

check:

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

but costs extra runtime and has transform/inverse limitations.

against labels, stability, original-space neighbors, or domain evidence.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.