HierarchicalForecast package contains utility functions to wrangle
and visualize hierarchical series datasets. The
aggregate
function of the module allows you to create a hierarchy from categorical
variables representing the structure levels, returning also the
aggregation contraints matrix .
In addition, HierarchicalForecast ensures compatibility of its
reconciliation methods with other popular machine-learning libraries via
its external forecast adapters that transform output base forecasts from
external libraries into a compatible data frame format.
Aggregate Function
aggregate
df according
to levels defined in the spec list.
Parameters:
Returns:
aggregate_temporal
df according
to temporal levels defined in the spec list.
Parameters:
Returns:
make_future_dataframe
Returns:
get_cross_temporal_tags
Returns:
Hierarchical Visualization
HierarchicalPlot
HierarchicalPlot.plot_summing_matrix
HierarchicalPlot.plot_series
Returns:
HierarchicalPlot.plot_hierarchically_linked_series
Returns:
HierarchicalPlot.plot_hierarchical_predictions_gap
Returns:

