Josep Xavier Barber i Vallés

The aim of this series of blog is to predict monthly admissions to Singapore public acute adult hospitals. EDA for the dataset was explored in past posts ( part 1 ; part 2 ).

library(tidyverse)
library(tidymodels)
library(timetk)
library(modeltime)
library(modeltime.ensemble)

# dataset and dataset for future forecast dats and pre-processing recipes were done in the past post. The output was uploaded onto my github. 
url_datasets<-url("https://github.com/notast/hierarchical-forecasting/blob/main/4Dataset_ML.rds?raw=true")
load(url_datasets)
close(url_datasets)

head(to_train,10)
....

link: https://notast.netlify.app/post/2021-06-14-hierarchical-forecasting-of-hospital-admissions-ml-approach-modeltime-package/