This repository includes the code and model in the article titled "Real-time machine learning model to predict in-hospital cardiac arrest using heart rate variability in ICU", published in npj Digital Medicine (2023) : https://www.nature.com/articles/s41746-023-00960-2