Pareto dbscan tuning

From XuShuwenn/RedAct · View interactive version

Pareto dbscan tuning is an AI agent skill from the GitHub repository XuShuwenn/RedAct. Tune DBSCAN with an anisotropic distance via coordinate scaling, evaluate F1 vs. localization error across grouped images, and extract the Pareto frontier.

How to use this skill

Skill file

Pareto-Oriented DBSCAN Hyperparameter Tuning

Optimize DBSCAN hyperparameters when clustering point annotations with a custom anisotropic distance. Evaluate per-image F1 (agreement) and localization error (delta), average across images, then extract the Pareto frontier (maximize F1, minimize delta).

When to Use

Use this skill when you need to:

Core Workflow

  1. Inspect and organize data
  1. Implement anisotropic distance via coordinate scaling
  1. Cluster and compute centroids per group
  1. Greedy matching against reference points (localization evaluation)
  1. Per-group metrics and aggregation
  1. Grid search and parallelization
  1. Filter and compute Pareto frontier
  1. Output formatting

Implementation Details

Verification

Common Pitfalls

Optional Script Usage

This skill ships a reusable helper module with:

Example (pseudocode):

Success Criteria

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.