Skip to main content
Hierarchical Forecast’s reconciliation and evaluation.
This notebook offers a step to step guide to create a hierarchical forecasting pipeline. In the pipeline we will use HierarchicalForecast and StatsForecast core class, to create base predictions, reconcile and evaluate them. We will use the TourismL dataset that summarizes large Australian national visitor survey. Outline 1. Installing Packages 2. Prepare TourismL dataset - Read and aggregate - StatsForecast’s Base Predictions 3. Reconciliar 4. Evaluar Open In Colab

1. Installing HierarchicalForecast

We assume you have StatsForecast and HierarchicalForecast already installed, if not check this guide for instructions on how to install HierarchicalForecast.

2. Preparing TourismL Dataset

2.1 Read Hierarchical Dataset

2.2 StatsForecast’s Base Predictions

This cell computes the base predictions Y_hat_df for all the series in Y_df using StatsForecast’s AutoARIMA. Additionally we obtain insample predictions Y_fitted_df for the methods that require them.

3. Reconcile Predictions

Qualitative evaluation, of parsed quantiles

4. Evaluation

References