Compute ImageNetV2-style top-k accuracy and drops from sampled candidate records with labels and ranked predictions.
Scanned 9/9/2026
Install to Claude Code
npx -y skills add VectorSpaceLab/AREX-Skill --skill imagenetv2_classification_accuracy_eval --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Imagenetv2 Classification Accuracy Eval?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/vectorspacelab-imagenetv2-classification-accuracy-eval)More formats (shields.io, HTML) on the badges page.
---
name: imagenetv2_classification_accuracy_eval
description: Compute ImageNetV2-style top-k accuracy and drops from sampled candidate records with labels and ranked predictions.
---
# ImageNetV2 Classification Accuracy Evaluation
Use this skill when sampled ImageNetV2-style records need top-1/top-5 metrics or an accuracy drop relative to an original validation metric.
## Inputs
- Sample JSON with records containing `label` and ranked `predictions`.
- Optional original accuracy baseline.
## Outputs
- `top1`, `top5`, sample count, and optional drop.
## Workflow
1. Load sampled records.
2. Count whether the true label is ranked first for top-1.
3. Count whether the true label appears in the first five predictions for top-5.
4. Compute drops as `original_accuracy - new_accuracy`.
## Validation
Run `python scripts/evaluate_accuracy.py tests/fixtures/sample.json --original-top1 0.75 --output /tmp/metrics.json`.
## Limitations
This skill consumes precomputed predictions; it does not run a vision model.
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!
Practical guide to testing web applications with screen readers for comprehensive accessibility validation.
在编写新功能、修复错误或重构代码时使用此技能。强制执行测试驱动开发,包含单元测试、集成测试和端到端测试,覆盖率超过80%。
Go测试模式包括表格驱动测试、子测试、基准测试、模糊测试和测试覆盖率。遵循TDD方法论,采用地道的Go实践。
Django测试策略,包括pytest-django、TDD方法论、factory_boy、模拟、覆盖率以及测试Django REST Framework API。
克劳德代码会话的正式评估框架,实施评估驱动开发(EDD)原则