Pareto dbscan clustering

From XuShuwenn/RedAct · View interactive version

Pareto dbscan clustering is an AI agent skill from the GitHub repository XuShuwenn/RedAct. Optimize DBSCAN hyperparameters with an anisotropic distance, evaluate against reference points per image, and extract a Pareto frontier balancing F1 (maximize) and distance (minimize).

How to use this skill

Skill file

Pareto-Optimal DBSCAN Clustering Against Reference Points

This skill provides a reusable workflow for hyperparameter search of DBSCAN with an anisotropic distance, evaluated against per-image reference annotations. It computes per-image matching, aggregates metrics with explicit missing-data rules, filters by a minimum average F1 threshold, and extracts the Pareto frontier that maximizes F1 while minimizing average matching distance.

When to Use

Use this skill when you need to:

Core Workflow

1) Data preparation

2) Anisotropic clustering distance

3) Per-image evaluation for a hyperparameter setting

4) Aggregation across images

5) Filtering and Pareto frontier

6) Output

Verification

Perform these checks before finalizing results:

Common Pitfalls

Success Criteria

Optional Script Usage

A helper module is provided to:

Typical integration pattern:

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.