This repository holds the code for the analysis of the data from pediatric patients with suspected appendictis. Machine learning (ML) models are trained and validated to perform the prediction of the diagnosis, management, and severity. The resulting models were deployed as a research prototype of the Pediatric Appendicitis Prediction Tool. Further details can be found in the Frontiers in Pediatrics paper.
This reserach was carried out by the Medical Data Science research group, ETH Zurich, Switzerland, in collaboration with the University Children's Hospital Regensburg (KUNO), Germany, Research and Development Campus Regensburg (WECARE), Germany, and Department of Pediatric Surgery and Pediatric Orthopedics, Hospital St. Hedwig of the Order of St. John, Regensburg, Germany.
To run this code, you will need
All the necessary packages can be installed by running setup_script.R
.
The data are provided in CSV and RDA fromats in app_data.csv
and app_data_clean.Rda
files, respectively.
setup_script.R
sets up necessary packages and utility functionseda.R
performs some basic exploratory analysis on the datasetdiagnosis.R
,management.R
, andseverity.R
validate logistic regression, random forest, and gradient boosting models for predicting diagnosis, management, and severity, respectivelyvariable_selection.R
performs variable selection based on the random forest variable importance
This repository is maintained by Ričards Marcinkevičs ([email protected]).
If you use the dataset, please cite the paper:
@article{MarcinkevicsWolfertstetter2021,
title={Using Machine Learning to Predict the Diagnosis, Management and Severity of Pediatric Appendicitis},
author={Marcinkevics, Ricards and Reis Wolfertstetter, Patricia and Wellmann, Sven and Knorr, Christian and Vogt, Julia E},
journal={Frontiers in Pediatrics},
volume={9},
pages={360},
year={2021},
publisher={Frontiers}
}