ECG arrhythmia live demo
Pick a real heartbeat below — each one comes from the MIT-BIH database, from patients the model never saw during training. The 1D CNN classifies it in your browser; nothing is uploaded.
Pick a heartbeat
Beats are labelled by their true class (as annotated by cardiologists): N normal, S supraventricular, V ventricular, F fusion. Watch what the model gets right — and where it slips.
A demo on curated research data flatters any model. On truly unseen patients, this one catches ventricular beats well but misses most supraventricular ones — see the write-up for the honest numbers and why.
What am I looking at?
Each trace is a single heartbeat: a ~0.7-second window of the ECG signal centered on the beat's sharp peak (the R-peak). The model was trained only on the shape of these windows. That's why it reads ventricular beats — which look visibly different — but struggles with supraventricular beats, whose shape is nearly normal and whose real giveaway is timing the model can't see. Fixing that is exactly what the next iteration tackles.