Related Experiment Video
Updated: Jul 16, 2025

Author Spotlight: Deciphering Electrical Networks Behind Complex Brain Activities and Disorders
Published on: November 1, 2024
Prediction of outpatients with conjunctivitis in Xinjiang based on LSTM and GRU models
Yijia Wang1, Xianglong Yi2, Mei Luo2
1College of Mathematics and System Science, Xinjiang University, Urumqi Xinjiang, China.
Background:
Reasonable and accurate forecasting of outpatient visits helps hospital managers optimize the allocation of medical resources, facilitates fine hospital management, and is of great significance in improving hospital efficiency and treatment capacity.
Methods:
Based on conjunctivitis outpatient data from the First Affiliated Hospital of Xinjiang Medical University Ophthalmology from 2017/1/1 to 2019/12/31, this paper built and evaluated Long Short-Term Memory (LSTM) and Gated Recurrent Unit (GRU) models for outpatient visits prediction.
Results:
In predicting the number of conjunctivitis visits over the next 31 days, the LSTM model had a root mean square error (RMSE) of 2.86 and a mean absolute error (MAE) of 2.39, the GRU model has an RMSE of 2.60 and an MAE of 1.99.
Conclusions:
The GRU method can better predict trends in hospital outpatient flow over time, thus providing decision support for medical staff and outpatient management.

