Related Experiment Video
Updated: Feb 1, 2026

Implementation of a Real-Time Psychosis Risk Detection and Alerting System Based on Electronic Health Records using CogStack
Published on: May 15, 2020
Towards stroke prediction using electronic health records
1Research and Development Group, Allm Inc., Yushin Bldg. Shinkan 2F, 3-27-11 Shibuya, Shibuya-ku, Tokyo, 150-0002, Japan. d.teoh@allm.net.
Insights
This study developed a neural network model to predict stroke diagnosis within one year using electronic health records. Custom regularization improved model performance, aiding proactive healthcare.
Area of Science:
- Medical Informatics
- Artificial Intelligence in Healthcare
- Clinical Decision Support Systems
Background:
- Stroke is a leading cause of death in Japan, necessitating proactive healthcare strategies.
- Predicting stroke diagnosis allows for timely interventions and improved patient outcomes.
Purpose of the Study:
- To develop and evaluate a predictive model for stroke diagnosis within one year using electronic health records.
- To improve the accuracy of stroke prediction models by addressing class imbalance issues.
Main Methods:
- Utilized approximately 8000 electronic health records from Tsuyama Jifukai Tsuyama Chuo Hospital.
- Transformed non-homogeneous temporal data for neural network input and designed custom regularization terms for the cross-entropy loss function.
- Evaluated model performance using Receiver Operating Characteristic (ROC) analysis.
Main Results:
- A dual-input neural network topology achieved an area under the ROC curve of 0.669.
- Custom regularization terms positively impacted the training process compared to standard cross-entropy loss.
- The developed models demonstrated effectiveness in handling imbalanced stroke case data.
Conclusions:
- The described techniques are viable for stroke prediction.
- The developed models serve as a foundation for a national clinical decision support system.
- This approach supports proactive healthcare measures for stroke prevention.
Background:
As of 2014, stroke is the fourth leading cause of death in Japan. Predicting a future diagnosis of stroke would better enable proactive forms of healthcare measures to be taken. We aim to predict a diagnosis of stroke within one year of the patient's last set of exam results or medical diagnoses.
Methods:
Around 8000 electronic health records were provided by Tsuyama Jifukai Tsuyama Chuo Hospital in Japan. These records contained non-homogeneous temporal data which were first transformed into a form usable by an algorithm. The transformed data were used as input into several neural network architectures designed to evaluate efficacy of the supplied data and also the networks' capability at exploiting relationships that could underlie the data. The prevalence of stroke cases resulted in imbalanced class outputs which resulted in trained neural network models being biased towards negative predictions. To address this issue, we designed and incorporated regularization terms into the standard cross-entropy loss function. These terms penalized false positive and false negative predictions. We evaluated the performance of our trained models using Receiver Operating Characteristic.
Results:
The best neural network incorporated and combined the different sources of temporal data through a dual-input topology. This network attained area under the Receiver Operating Characteristic curve of 0.669. The custom regularization terms had a positive effect on the training process when compared against the standard cross-entropy loss function.
Conclusions:
The techniques we describe in this paper are viable and the developed models form part of the foundation of a national clinical decision support system.
Related Concept Videos
Purpose of Health Records I
Here's a breakdown of how health records serve these purposes:
Purpose of Health Records II
Predicting Molecular Geometry
Data Reporting and Recording
Ionic Bonding and Electron Transfer
Prediction Intervals
However, the point estimate is most likely not the exact value of the population parameter, but close to it. After calculating point estimates, we construct interval estimates, called confidence intervals or prediction intervals. This prediction interval comprises a range of values unlike the point estimate and is a better predictor of the observed sample value, y.

