This research introduces an innovative prediction framework utilizing a parallel multi-input Bi-GRU structure coupled with a sliding window-based Multi-Input Multi-Output (MIMO) forecasting approach. The primary novelty centers on feature-specific Bi-GRU encoding, which independently processes historical demand, meteorological variables, and calendar indicators prior to data fusion, thereby empowering the network to more effectively capture temporal correlations across disparate data streams. In contrast to preceding models, our methodology distinctively merges a structured feature-specific Bi-GRU encoding mechanism with interpretability via SHAP analysis, providing both superior predictive fidelity and transparent algorithmic decision-making suitable for practical deployment within electrical grids. The introduced Bi-GRU MIMO architecture operates as the foundational model. To rigorously evaluate its performance, an attention-enhanced LSTM model is incorporated solely as a baseline for comparative analysis. Empirical validation using actual data from Singapore’s National Electricity Market System (NEMS) demonstrates that the Bi-GRU MIMO framework enhances forecasting accuracy by 1.64% and decreases MAE by 2.19% relative to traditional models, underscoring its capability to improve decision-making in smart grids.
Global emergency departments and urgent care facilities regularly experience prolonged waiting periods that surpass patient expectations, primarily driven by unexpected spikes in patient volumes. The resulting delays caused by insufficient staffing during these high-demand intervals have been associated with detrimental clinical consequences. Prior investigations into predicting patient volumes have predominantly relied on traditional statistical approaches. Furthermore, these efforts have mainly focused on short-range predictions, which offer minimal utility for the long-term scheduling of medical staff. This paper contributes to a growing domain of research aimed at investigating the capacity of machine learning frameworks to produce precise patient volume projections. Utilizing a decade's worth of data from two major urgent care centers, this study constructs long-range patient flow predictions extending up to one quarter in advance by evaluating a selection of modern, high-performing algorithms. A unique aspect of this research is the integration of eXplainable Artificial Intelligence (XAI) frameworks, specifically LIME and Shapley, to conduct a comprehensive assessment of internal model dynamics that are typically obscured. These diagnostic instruments allowed us to examine how effectively the predictive frameworks adjusted to volatile demand shifts induced by COVID-19 pandemic lockdowns, while also determining the most significant predictor variables to gain deep operational insights. The empirical findings indicate that an innovative ensemble combining gradient boosting techniques with advanced univariate frameworks like Prophet yielded the most precise and dependable performance overall. On average, this methodology produced a 16%–30% improvement over the current internal forecasting techniques utilized for predicting daily patient volumes 90 days into the future.