Skip to main content

Table 1 Excerpt from the model matrix corresponding to St Mary’s Hospital. Explanatory covariates for the machine learning algorithms are listed

From: A unified machine learning approach to time series forecasting applied to demand at emergency departments

Date 2014-04-10 2014-04-11 2014-04-12 2014-04-13
demand 198 183 172 185
month April April April April
yesterday 218 198 183 172
same day last week 223 189 187 195
average of previous week 199.6 196 195.1 193
time −0.306 −0.305 −0.304 −0.303
bank holiday FALSE FALSE FALSE FALSE
school holiday FALSE FALSE TRUE TRUE
day of week Thursday Friday Saturday Sunday
precipitation on previous day 0 0 0 0
max temperature on previous day 17.5 17.2 15.0 17.4
min temperature on previous day 12.0 11.8 10.8 11.3
flu hits on google on previous day 7.52 4.88 5.12 4.08
Notting Hill carnival FALSE FALSE FALSE FALSE
Christmas FALSE FALSE FALSE FALSE