# Hierarchical reconciliation

> Hierarchical reconciliation - Learn how to reconcile independent time series forecasts with a
> hierarchical structure.

This Markdown file sits beside the HTML page at the same path (with a `.md` suffix). It summarizes the topic and lists links for tools and LLM context.

Companion generated at `2026-05-06T18:17:09.586733+00:00` (UTC).

## Primary page

- [Hierarchical reconciliation](https://docs.datarobot.com/en/docs/api/dev-learning/accelerators/time-series/ts-recon.html): Full documentation for this topic (HTML).

## Related documentation

- [Developer documentation](https://docs.datarobot.com/en/docs/api/index.html): Linked from this page.
- [Developer learning](https://docs.datarobot.com/en/docs/api/dev-learning/index.html): Linked from this page.
- [AI accelerators](https://docs.datarobot.com/en/docs/api/dev-learning/accelerators/index.html): Linked from this page.
- [Time series and specific use cases](https://docs.datarobot.com/en/docs/api/dev-learning/accelerators/time-series/index.html): Linked from this page.

## Documentation content

[Access this AI accelerator on GitHub](https://github.com/datarobot-community/ai-accelerators/blob/main/use_cases_and_horizontal_approaches/time_series_hierarchical_reconciliation/time_series_hierarchical_reconciliation.ipynb)

This AI Accelerator demonstrates how to reconcile (e.g., post-processing to sum appropriately) independent time series forecasts with a hierarchical structure. Reconciling, also known as making ["coherent"](https://otexts.com/fpp3/hierarchical.html) forecasts, is often a requirement when submitting hierarchical forecasts to stakeholders. This notebook leverages the increasingly popular [HierarchicalForecast](https://nixtlaverse.nixtla.io/hierarchicalforecast/index.html) python library to do the reconciliation on forecasts generated from DataRobot time series deployments. The steps demonstrated are as follows:

1. Installing hierarchicalforecast
2. Importing libraries
3. Loading the example dataset
4. Preparing training data for each hierarchy
5. Building models for each level
6. Deploying models for each level
7. Making forecasts
8. Preparing the forecasts
9. Reconcile forecasts
10. Comparing forecasts
11. Conclusion

Note that steps 2-6 steps are purely for providing example time series deployments and forecasts from those deployments (in case you don't have any). If you already have a set of forecasts you want to reconcile, feel free to skip to step 7.
