Skip to content
Back to skills

Imagenetv2 Linear Generalization Analysis

ASecurity

Fit and inspect original-vs-new ImageNetV2 accuracy relationships for rank preservation and linear generalization gaps.

  • 247 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 9, 2026
testingpython

Security analysis

A100/100

Scanned September 9, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Imagenetv2 Linear Generalization Analysis?

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

Security grade badge for Imagenetv2 Linear Generalization Analysis
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-imagenetv2-linear-generalization-analysis/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-imagenetv2-linear-generalization-analysis)

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

SKILL.md
---
name: imagenetv2_linear_generalization_analysis
description: Fit and inspect original-vs-new ImageNetV2 accuracy relationships for rank preservation and linear generalization gaps.
---

# ImageNetV2 Linear Generalization Analysis

Use this skill after model accuracies are available on original and new datasets. It captures the paper's observation that accuracies drop while model rankings remain close to linear rather than showing diminishing returns from adaptivity.

## Inputs
- JSON list of model records with `model`, `original_accuracy`, and `new_accuracy`.

## Outputs
- Least-squares slope and intercept.
- Mean accuracy gap.
- Pairwise rank agreement.

## Workflow
1. Load model accuracy pairs.
2. Fit `new_accuracy = slope * original_accuracy + intercept`.
3. Compute average original-minus-new gap.
4. Compute pairwise rank agreement between original and new accuracies.

## Validation
Run `python scripts/linear_fit.py tests/fixtures/model_pairs.json --output /tmp/fit.json`.

## Limitations
This skill summarizes metric pairs; it does not explain image-level causes of the gap.

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.