MIMIC-CXR Chest Radiograph Classification
Large-scale chest radiograph classification based on MIMIC-CXR (Johnson et al., Scientific Data 2019). Multi-label classification with 14 observations derived from radiology reports.
text annotation
Configuration Fileconfig.yaml
# MIMIC-CXR Chest Radiograph Classification Configuration
# Based on Johnson et al., Scientific Data 2019
annotation_task_name: "MIMIC-CXR Chest Radiograph Classification"
data_files:
- "sample-data.json"
item_properties:
id_key: "id"
text_key: "image_url"
context_key: "report_excerpt"
user_config:
allow_all_users: true
annotation_schemes:
- annotation_type: "multiselect"
name: "findings"
description: "Select all findings present in the image"
labels:
- name: "atelectasis"
tooltip: "Partial or complete lung collapse"
- name: "cardiomegaly"
tooltip: "Enlarged heart"
- name: "consolidation"
tooltip: "Lung tissue filled with fluid"
- name: "edema"
tooltip: "Pulmonary edema"
- name: "enlarged_cardiomediastinum"
tooltip: "Enlarged heart and mediastinum"
- name: "fracture"
tooltip: "Bone fracture visible"
- name: "lung_lesion"
tooltip: "Mass or nodule"
- name: "lung_opacity"
tooltip: "Abnormal opacity"
- name: "pleural_effusion"
tooltip: "Fluid in pleural space"
- name: "pleural_other"
tooltip: "Other pleural abnormality"
- name: "pneumonia"
tooltip: "Pneumonia"
- name: "pneumothorax"
tooltip: "Air in pleural space"
- name: "support_devices"
tooltip: "Medical devices present"
- annotation_type: "radio"
name: "no_finding"
description: "Is this a normal study?"
labels:
- name: "normal"
tooltip: "No significant findings"
- name: "abnormal"
tooltip: "Abnormalities present"
- annotation_type: "radio"
name: "view_position"
description: "What is the view position?"
labels:
- name: "PA"
tooltip: "Posteroanterior"
- name: "AP"
tooltip: "Anteroposterior"
- name: "lateral"
tooltip: "Lateral view"
- annotation_type: "text"
name: "additional_notes"
description: "Additional clinical notes or observations"
interface_config:
item_display_format: "<img src='{{text}}' style='max-width:100%; max-height:500px; background:#000;'/><br/><small>Report: {{context}}</small>"
output_annotation_format: "json"
output_annotation_dir: "annotations"
Sample Datasample-data.json
[
{
"id": "mimic_001",
"image_url": "https://upload.wikimedia.org/wikipedia/commons/c/c5/Normal_posteroanterior_%28PA%29_chest_radiograph_%28X-ray%29.jpg",
"report_excerpt": "PA and lateral views of the chest. Heart size normal. Lungs are clear."
},
{
"id": "mimic_002",
"image_url": "https://upload.wikimedia.org/wikipedia/commons/2/29/Chest_X-ray_of_RTI.jpg",
"report_excerpt": "Frontal chest radiograph. Evaluate for cardiopulmonary disease."
}
]
// ... and 1 more itemsGet This Design
Clone or download from the repository
Quick start:
git clone https://github.com/davidjurgens/potato-showcase.git cd potato-showcase/mimic-cxr potato start config.yaml
Details
Annotation Types
Domain
Use Cases
Tags
Found an issue or want to improve this design?
Open an IssueRelated Designs
CheXpert Chest X-Ray Classification
Multi-label classification of chest radiographs for 14 observations (Irvin et al., AAAI 2019). Annotate chest X-rays with pathology labels including uncertainty handling for clinical findings.
Deceptive Review Detection
Distinguish between truthful and deceptive (fake) reviews. Based on Ott et al., ACL 2011. Identify fake reviews written to deceive vs genuine customer experiences.
Dynamic Hate Speech Detection
Hate speech classification with fine-grained type labels based on the Dynamically Generated Hate Speech Dataset (Vidgen et al., ACL 2021). Classify content as hateful or not, then identify hate type (animosity, derogation, dehumanization, threatening, support for hateful entities) and target group.