Skip to content
Back to skills

Covidx Classification Eval

ASecurity

Evaluates deep learning models' ability to classify chest X-ray images into three diagnostic categories: normal, non-COVID-19 pneumonia, and COVID-19. It probes medical image classification performance under realistic class imbalance and tests whether models rely on clinically relevant lung regions or artifacts. Use when the user wants to benchmark on COVIDx, or asks about evaluating this task. Reports F-score.

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 11, 2026
researchpythongogitperformance

Works with

  • cli

Security analysis

A100/100

Scanned September 11, 2026

npx -y skills add qhjqhj00/research-skills-pool --skill covidx-classification-eval --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Covidx Classification Eval?

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

Security grade badge for Covidx Classification Eval
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/qhjqhj00-covidx-classification-eval/badge)](https://www.skillsdirectory.com/skills/qhjqhj00-covidx-classification-eval)

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: covidx-classification-eval
description: Evaluates deep learning models' ability to classify chest X-ray images into three diagnostic categories: normal, non-COVID-19 pneumonia, and COVID-19. It probes medical image classification performance under realistic class imbalance and tests whether models rely on clinically relevant lung regions or artifacts. Use when the user wants to benchmark on COVIDx, or asks about evaluating this task. Reports F-score.
metadata:
  skill_kind: dataset_eval
  source_arxiv: 2008.00597
  bibtex_key: [REDACTED]
  confidence: high
---

# covidx-classification-eval

> Identification of images of COVID-19 from Chest X-rays using Deep Learning: Comparing COGNEX VisionPro Deep Learning 1.0 Software with Open Source Convolutional Neural Networks — Arjun Sarkar et al. (2020) (arXiv:2008.00597, 2020)

## What this evaluates

Evaluates deep learning models' ability to classify chest X-ray images into three diagnostic categories: normal, non-COVID-19 pneumonia, and COVID-19. It probes medical image classification performance under realistic class imbalance and tests whether models rely on clinically relevant lung regions or artifacts.

## Datasets

- **COVIDx** — total 13975; splits: train (13675), test (300); repo https://github.com/lindawangg/COVID-Net

## Metrics

- `F-score` **(primary)** — range: percent
  - Harmonic mean of precision and recall: F1 = 2 * (precision * recall) / (precision + recall). Reported as a percentage, typically macro-averaged across the three classes.

## Input / output format

**Input**: Chest X-ray images (either full images or lung-segmented regions)

**Output**: Classification label from three classes: Normal, Non-COVID-19/Pneumonia, or COVID-19

## Scoring recipe

```python
def compute_fscore(predictions, gold):
    classes = [0, 1, 2]
    f1_scores = []
    for c in classes:
        tp = sum(1 for p, g in zip(predictions, gold) if p == c and g == c)
        fp = sum(1 for p, g in zip(predictions, gold) if p == c and g != c)
        fn = sum(1 for p, g in zip(predictions, gold) if p != c and g == c)
        prec = tp / (tp + fp) if (tp + fp) > 0 else 0
        rec = tp / (tp + fn) if (tp + fn) > 0 else 0
        f1 = 2 * prec * rec / (prec + rec) if (prec + rec) > 0 else 0
        f1_scores.append(f1)
    return sum(f1_scores) / len(f1_scores) * 100
```

## Common pitfalls

- The training set is highly imbalanced (258 COVID-19 vs 7966 Normal), so models may overfit to majority classes without class weighting or augmentation.
- The test set is artificially balanced (100 images per class), which inflates F-score compared to real-world clinical prevalence and may not reflect true diagnostic utility.

## Evidence (verbatim from paper)

> The test set was a balanced set, with each of the three classes having 100 images each [18]. The model achieved an F-score of 94.0% on full images and 95.3% on lung-segmented regions.

## Citation

```bibtex
@misc{sarkar2020cognex,
  title={Identification of images of COVID-19 from Chest X-rays using Deep Learning: Comparing COGNEX VisionPro Deep Learning 1.0 Software with Open Source Convolutional Neural Networks},
  author={Arjun Sarkar et al. (2020)},
  year={2020},
  note={arXiv:2008.00597}
}
```

- arXiv: 2008.00597

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.