Skip to content
Back to skills

Metrics

ASecurity

"Routes Ignite metric attachment, arithmetic, family-specific

  • 247 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 8, 2026
testinggoapibackend

Works with

  • api

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill metrics --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Metrics?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Metrics
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-metrics-cee96c6c/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-metrics-cee96c6c)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: metrics
description: "Routes Ignite metric attachment, arithmetic, family-specific
  evaluation, and compute/reset workflows."
disable-model-invocation: true
metadata:
  disco-role: operating
license: BSD 3-Clause
---

# Ignite metrics workflows

Use this sub-skill when the task is about computing, validating, combining, or troubleshooting Ignite metrics rather than the training loop itself.

## Include here

- Metric attachment to an evaluator or custom engine, including `output_transform`, `skip_unrolling`, and distributed metric reduction behavior.
- Direct `reset` / `update` / `compute` usage for custom or ad hoc evaluation loops.
- Metric arithmetic with `MetricsLambda`, operator chaining, indexing, and derived metrics such as F-beta.
- Core classification metrics: `Accuracy`, `Precision`, `Recall`, `Fbeta`, `ConfusionMatrix`, `TopKCategoricalAccuracy`, `ClassificationReport`, `AveragePrecision`, `PrecisionRecallCurve`, `ROC_AUC`, and `RocCurve`.
- Regression, clustering, and distance metrics that live under `ignite.metrics.regression` and `ignite.metrics.clustering`.
- NLP, vision, GAN, fairness, and recommender-system metrics, including `Bleu`, `Rouge`, `SSIM`, `FID`, `InceptionScore`, `GpuInfo`, `SubgroupAccuracyDifference`, `DemographicParityDifference`, `HitRate`, and `NDCG`.
- Metric grouping and reuse patterns with `MetricGroup`.

## Exclude or route elsewhere

- Engine creation, event wiring, resume logic, and deterministic loop control belong in `sub-skills/engine/`.
- Checkpointing, schedulers, progress bars, profilers, and logger integrations belong in `sub-skills/handlers/`.
- Distributed launchers and backend selection belong in `sub-skills/distributed/`.
- Legacy `ignite.contrib` compatibility notes live in `references/legacy-contrib.md`.

## Start here

- Read `references/api-reference.md` for the metric families, dependencies, and shape expectations.
- Read `references/workflows.md` for end-to-end evaluator recipes, derived-metric patterns, and family-specific examples.
- Read `references/troubleshooting.md` when a metric raises `NotComputableError`, shape errors, missing optional dependency errors, or distributed reduction surprises.
- Run `scripts/metric_smoke.py` for a tiny synthetic check that exercises classification, binary ranking, fairness, image, and recommender-style metrics.

## Common triggers

- "How do I attach Accuracy, F-beta, ROC AUC, or SSIM to Ignite?"
- "Why does `NotComputableError` happen for this metric?"
- "How do I build a derived metric from Precision and Recall?"
- "Which optional dependency do I need for FID, ROC AUC, or GPU info?"
- "How do I evaluate subgroup fairness or recommender-system metrics?"

## Useful boundary notes

This route owns metric math and metric-specific validation, but it does not own the trainer/evaluator structure itself. If the metric is part of a larger loop or a checkpoint/logging problem, keep the loop in `sub-skills/engine/` and the side effects in `sub-skills/handlers/`.

Files in this skill

  • SKILL.md2.9 KB
  • references/api-reference.md4.2 KB
  • references/troubleshooting.md3.4 KB
  • references/workflows.md3.2 KB
  • scripts/metric_smoke.py5.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.