인터페이스는 현지화되어 있으며, Skill 소개와 설명 문서는 선택한 언어로 AI가 자동 번역합니다. 코드·명령어·경로·전문 용어는 원문을 유지하며 원작자 문서가 우선합니다.
Skills 둘러보기
생산성 및 협업 · SKILL.md

imagenet_p_perturbation_metrics

imagenet_p_perturbation_metrics

Compute ImageNet-P-style prediction flip probability over ordered perturbation sequences.

Independent GitHub snapshot · Automated classification · Original documentation governs

Skill 문서

GitHub

name: imagenet_p_perturbation_metrics description: Compute ImageNet-P-style prediction flip probability over ordered perturbation sequences.

ImageNet-P Perturbation Metrics

Use this skill when evaluating prediction stability along ordered perturbation trajectories. Do not use it for corruption top-1 error or mCE calculations.

Inputs

  • Prediction sequences grouped by perturbation type, where each sequence has at least two labels.
  • Optional baseline flip probabilities for normalized reporting.

Outputs

  • Flip count and transition count per sequence.
  • Flip probability per perturbation type.
  • Mean flip probability.
  • Optional normalized flip probability.

Workflow

  1. Validate each sequence has at least two predictions.
  2. Count adjacent prediction changes.
  3. Divide flips by adjacent transitions for each group.
  4. Average group flip probabilities.
  5. Preserve per-sequence diagnostics.

Validation

Run:

python tests/test_perturbation_metrics.py

Limitations

This skill measures prediction stability only. It does not decide whether predictions are correct labels.

저장한 Skills