Twelve to One: what survives on a smartwatch?
Three networks trained on PTB-XL, each on exactly the leads it is given: a hospital 12-lead ECG, a 2-electrode patch (I + II), or a smartwatch (Lead I). Pick a test record and switch the lead setting to watch the five diagnostic scores move.
Input
Model output
Bars: temperature-scaled probabilities, averaged over seven overlapping 2.5 s windows (the evaluation protocol). Black tick: the threshold chosen on validation data for that class.
ECG, 10 s at 100 Hz
Red shading: 1D Grad-CAM for the most probable class, computed in your browser from the network's last feature maps and its classifier weights over the whole 10 s record. It shows where in time the evidence sits, not which lead, and it is a rough guide rather than an explanation. (The repo's Python demo uses integrated gradients instead, which needs autograd.)