You can install the released version of HierachicalForecast from the Python package index with:

pip install hierarchicalforecast


conda install -c conda-forge hierarchicalforecast


We recommend installing your libraries inside a python virtual or conda environment.

User our env (optional)

If you donโ€™t have a Conda environment and need tools like Numba, Pandas, NumPy, Jupyter, StatsModels, and Nbdev you can use ours by following these steps:

  1. Clone the HierachicalForecast repo:
$ git clone && cd hierachicalforecast
  1. Create the environment using the environment.yml file:
$ conda env create -f environment.yml
  1. Activate the environment:
$ conda activate statsforecast