Related Experiment Video
Updated: Aug 9, 2026

Automated Midline Shift and Intracranial Pressure Estimation based on Brain CT Images
Published on: April 13, 2013
Machine Learning-Based Prediction of Chronic Shunt-Dependent Hydrocephalus After Spontaneous Subarachnoid Hemorrhage
Maria Gollwitzer1, Markus Steindl2, Nico Stroh1
1Department of Neurosurgery, Kepler University Hospital, Johannes Kepler University Linz, Linz, Austria; Johannes Kepler University Linz, Linz, Austria.
Background:
Chronic posthemorrhagic hydrocephalus often arises following spontaneous subarachnoid hemorrhage (SAH). Timely identification of patients predisposed to develop chronic shunt-dependent hydrocephalus may significantly enhance clinical outcomes.
Methods:
We performed an analysis of 510 SAH patients treated at our institution between 2013 and 2018. Clinical and radiological variables, including age, sex, Hunt & Hess grade, Fisher Score, external ventricular drainage placement, central nervous system infection, aneurysm characteristics, and treatment modalities, were evaluated. Supervised machine learning (ML) models, trained and compared using Python and scikit-learn, were employed to predict chronic shunt-dependent hydrocephalus. Model performance was rigorously assessed through repeated cross-validation. To facilitate transparency and collaboration, we publicly released the dataset and code on GitHub (https://github.com/RISCSoftware/shuntclf) and developed an interactive web application (https://huggingface.co/spaces/risc42/shuntclf).
Results:
Among the evaluated ML models, logistic regression exhibited superior performance, with an area under the receiver operating characteristic curve of 0.819 and an area under the precision-recall curve of 0.482, along with the highest F1 score of 0.473. Although the balanced accuracy scores of the models were generally proximate, ranging from 0.735 to 0.764, logistic regression consistently outperforms others in key metrics such as area under the receiver operating characteristic curve and area under the precision-recall curve. Conversely, female gender and absence of aneurysm within the anterior communicating artery were associated with reduced shunt requirement likelihood.
Conclusions:
ML models, including logistic regression, demonstrate strong predictive capability for early chronic shunt-dependent hydrocephalus following spontaneous SAH, which may potentially contribute to more timely shunt placement interventions. This predictive capability is supported by our web interface, which simplifies the application of these models, aiding clinicians in efficiently determining the need for shunt placement.
More Related Videos
09:00The Rabbit Blood-shunt Model for the Study of Acute and Late Sequelae of Subarachnoid Hemorrhage: Technical Aspects
Published on: October 2, 2014
09:14Pre-Chiasmatic, Single Injection of Autologous Blood to Induce Experimental Subarachnoid Hemorrhage in a Rat Model
Published on: June 18, 2021
Related Concept Videos
Ischemic Stroke ll: Pathophysiology
Hemorrhagic Stroke l: Introduction
Hemorrhagic Stroke ll: Pathophysiology
Increased Intracranial Pressure ll: Pathophysiology
Cerebral Edema l: Introduction
Cerebral Edema ll: Pathophysiology