Web app · Risk prediction

AiMyoCAST

Artificial Intelligence for Myocarditis Outcome Forecast

Estimate a patient's risk of major adverse cardiovascular events one to three years after myocarditis, from a handful of clinical, ECG and cardiac MRI values, and see which factors drive the estimate.

Developed in Boston, tested in Bern and Beijing Preprint on SSRN, 2026
3countries
USA, Switzerland, China
1–3year risk
of major cardiac events
7values to enter
clinical, ECG, cardiac MRI
Freeweb app
no installation
Explainedevery estimate
with survSHAP

One Diagnosis, Very Different Futures

After myocarditis, many patients recover fully while others go on to heart failure, arrhythmias or death. AiMyoCAST turns routinely collected findings into a personal risk estimate to support research on follow-up and risk stratification.

PersonalA risk curve for one patient, not an average for a group.
Long-termEvent risk at one, two and three years after the diagnosis.
TransparentEach estimate shows which values raised or lowered the risk.

Built Across Three Continents

The model was developed in one population and then challenged on patients from two other countries it had never seen.

  1. Develop in BostonTrained and internally validated on a myocarditis cohort from Boston, USA.
  2. Test in Bern and BeijingTested externally on independent cohorts from Bern, Switzerland, and Beijing, China.
  3. DeployThe final model is trained on the pooled data of all three centers and runs in the web app.
Time-to-event model. A random survival forest predicts how risk builds up over time, not just yes or no.
Checked thoroughly. Discrimination, calibration and subgroups are evaluated, with recalibration for external centers.

What You Enter

Seven values that are part of a routine myocarditis work-up.

Clinical 3

  • Age
  • Body mass index
  • NYHA class

Cardiac MRI 3

  • LV ejection fraction
  • RV ejection fraction
  • LGE mass

ECG 1

  • Heart rate
AiMyoCAST web app input form with clinical, CMR and ECG fields and a Calculate Risk button
The AiMyoCAST web app: fill in the fields, then select Calculate Risk.

What You Get

A result you can read in seconds and trace back to the inputs.

Risk over time

The probability of a major adverse cardiovascular event at one, two and three years.

The reasons behind it

survSHAP shows how much each value pushed this patient's risk up or down.

Tips for reliable results

  • Read the information in the app before you use it.
  • Check your entries: the tool returns a result even when the values do not fit myocarditis.

Authors & Citation

Authors
Giovanni Baj, Nicola Ciocca, Pooya Mohammadi Kazaj, Xuan Ma, Benedikt Bernhard, Jing-Hui Li, Jonathan Schütze, George C. M. Siontis, Stephan Windecker, Shihua Zhao, Raymond Y. Kwong, Isaac Shiri, Christoph Gräni
Paper
Artificial Intelligence-Driven Risk Prediction for Major Adverse Cardiovascular Events in Myocarditis (SSRN preprint, 2026): summary, key findings and figures
Developed by
The AI in Cardiovascular Medicine Laboratory (AI-CVM), Bern University Hospital, University of Bern, Switzerland, with collaborating centers in Boston and Beijing
License
Code released under the MIT license on GitHub

How to cite

Baj, Giovanni and Ciocca, Nicola and Mohammadi Kazaj, Pooya and Ma, Xuan and Bernhard, Benedikt and Li, Jing-Hui and Schütze, Jonathan and Siontis, George C. M. and Windecker, Stephan and Zhao, Shihua and Kwong, Raymond and Shiri, Isaac and Gräni, Christoph, Artificial Intelligence-Driven Risk Prediction for Major Adverse Cardiovascular Events in Myocarditis: A Multinational Model Development, Validation, and Testing Study. Available at SSRN: https://ssrn.com/abstract=7262909 or http://dx.doi.org/10.2139/ssrn.7262909

Disclaimer: AiMyoCAST is intended for research purposes only and has not been approved for clinical use.