#45 - How Machine Learning Improves Stroke Prediction With AFib episode artwork

EPISODE · May 21, 2026 · 25 MIN

#45 - How Machine Learning Improves Stroke Prediction With AFib

from Code & Cure · host Vasanth Sarathy and Laura Hagopian

What if an irregular heartbeat could quietly set the stage for a stroke? Atrial fibrillation is common, often confusing, and potentially dangerous because it can allow blood to pool in the heart, form clots, and send them traveling to the brain. The challenge is not simply knowing that AFib raises stroke risk—it is deciding who truly needs anticoagulation. Blood thinners can prevent devastating strokes, but they also increase the risk of serious bleeding, making the “right” answer highly dependent on each patient’s risk, context, and values.We begin by breaking down the clinical basics: what AFib is, why clots can form in the atria, and how those clots can lead to stroke. From there, we unpack CHA₂DS₂-VASc, the standard scoring tool used to estimate stroke risk. Its simplicity makes it practical and easy to communicate, but that same simplicity can also be a limitation. Fixed point values do not always capture the complex ways age, medical conditions, medications, and real-world patient factors interact.Then we turn to a paper asking a practical question: can machine learning better predict one-year stroke risk after new-onset AFib using information clinicians usually have available from the start? We explore feature selection with BIC, the importance of external validation, and why even a straightforward logistic regression model can outperform a classic clinical score. We also discuss why XGBoost performs so well with tabular clinical data, how it captures nonlinear thresholds and interactions, and how SHAP explanations can make predictions more transparent and clinically useful. We close with a clear stance on “AI said so” medicine: targeted, interpretable models may help with high-stakes risk prediction, but black-box LLMs are not the right tool for deciding who should receive anticoagulation.References:Interpretable machine learning models for stroke risk prediction in patients with newly diagnosed atrial fibrillationLin et al.Nature Digital Medicine (2026)Credits:Theme music: Nowhere Land, Kevin MacLeod (incompetech.com)Licensed under Creative Commons: By Attribution 4.0https://creativecommons.org/licenses/by/4.0/

Episode metadata supplied by the publisher feed · Published May 21, 2026

Embed this episode

What if an irregular heartbeat could quietly set the stage for a stroke? Atrial fibrillation is common, often confusing, and potentially dangerous because it can allow blood to pool in the heart, form clots, and send them traveling to the brain. The challenge is not simply knowing that AFib raises stroke risk—it is deciding who truly needs anticoagulation. Blood thinners can prevent devastating strokes, but they also increase the risk of serious bleeding, making the “right” answer highly depe...

Distinct summary based on available episode metadata or transcript content.

NOW PLAYING

#45 - How Machine Learning Improves Stroke Prediction With AFib

0:00 25:05

No transcript for this episode yet

We transcribe on demand. Request one and we'll notify you when it's ready — usually under 10 minutes.

No similar episodes found.

No similar podcasts found.

Frequently Asked Questions

How long is this episode of Code & Cure?

This episode is 25 minutes long.

When was this Code & Cure episode published?

This episode was published on May 21, 2026.

Can I download this Code & Cure episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.
URL copied to clipboard!