agentsclimarketplace

Run1 greedy matching evaluation

Skill cxcscmu/SkillLearnBench/skills/b3-teacher-feedback-gemini-3.1-flash-lite-preview/dbscan-parameter-tuning/run1_greedy-matching-evaluation

Evaluating clustering performance using greedy matching of predicted centroids against ground truth points.From its SKILL.md

Install
npx -y skills add cxcscmu/SkillLearnBench --skill run1_greedy-matching-evaluation

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

SKILL.md

1.1 KB, 227 tokens by cl100k_base, as published. Nobody here has run it

Matching Algorithm

For each image:

  1. Centroid Extraction: Calculate the arithmetic mean of all points assigned to each cluster ID (excluding noise points labeled -1).
  2. Greedy Matching:
    • Calculate a distance matrix between all cluster centroids and expert points.
    • Iteratively pick the pair with the smallest Euclidean distance (if < 100 pixels).
    • Remove these points from the pool and repeat until no pairs are within 100 pixels.
  3. Metrics:
    • True Positives (TP): Number of matches found.
    • False Positives (FP): Number of unmatched clusters.
    • False Negatives (FN): Number of unmatched expert points.
    • F1 Score: $2 * TP / (2 * TP + FP + FN)$.
    • Delta: Mean standard Euclidean distance of matched pairs.

Ensure you handle images with zero citizen science points or zero expert points correctly by returning F1=0.0 and delta=NaN.

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.