The interface is localized. Skill descriptions and documents are machine-translated by AI into your language; code, commands, paths and technical terms stay in the original, and the author's document governs.
Explore skills
Productivity · SKILL.md

metrics-and-evaluation

metrics-and-evaluation

Routes pytorch-grad-cam explanation metrics, ROAD, ARCC, RefineCAM, and Deep Feature Factorization workflows.

Independent GitHub snapshot · Automated classification · Original documentation governs

Skill documentation

GitHub

name: metrics-and-evaluation description: "Routes pytorch-grad-cam explanation metrics, ROAD, ARCC, RefineCAM, and Deep Feature Factorization workflows." disable-model-invocation: true metadata: disco-role: operating license: MIT

Metrics and Evaluation

Use this sub-skill when the user wants to score, compare, or refine CAMs rather than just generate one heatmap. It covers confidence-change metrics, ROAD, ARCC, RefineCAM, and Deep Feature Factorization concept discovery.

Read first

Typical tasks

  • "How good is this CAM?" -> use ROAD or confidence-change metrics.
  • "Refine the CAM across layers" -> use RefineCAM.
  • "Show concept components from activations" -> use Deep Feature Factorization.
  • "Compute ARCC" -> use ARCC(base_method=cam) or a matching metric helper.

Keep the target callable, input tensor, and CAM output shapes aligned. These metrics often call the model again, so use a small batch and a deterministic model when debugging.

Saved skills