PLoS ONE (Jan 2023)

Prediction of outpatients with conjunctivitis in Xinjiang based on LSTM and GRU models.

  • Yijia Wang,
  • Xianglong Yi,
  • Mei Luo,
  • Zhe Wang,
  • Long Qin,
  • Xijian Hu,
  • Kai Wang

DOI
https://doi.org/10.1371/journal.pone.0290541
Journal volume & issue
Vol. 18, no. 9
p. e0290541

Abstract

Read online

BackgroundReasonable 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.MethodsBased 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.ResultsIn 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.ConclusionsThe GRU method can better predict trends in hospital outpatient flow over time, thus providing decision support for medical staff and outpatient management.