Can I run Hierarchical Forecast, Neural Forecast, ...
# general
l
Can I run Hierarchical Forecast, Neural Forecast, and MLForecast locally rather than with multiprocessing? I get the following error when running the code straight from the reconcilliation quick start in Hierarchical Forecast. RuntimeError: An attempt has been made to start a new process before the current process has finished its bootstrapping phase. This probably means that you are not using fork to start your child processes and you have forgotten to use the proper idiom in the main module: if name == '__main__': freeze_support() ... The "freeze_support()" line can be omitted if the program is not going to be frozen to produce an executable.
k
Yeah this is recommending you use the
if __name__ == '__main__':
guard So:
Copy code
if __name__ == '__main__':
    # forecast code here
l
Thank you! Sorry for the rookie question. I added the guard you mentioned, and the issue was resolved however I am now getting the following error. Exception: Please include
NBEATS-median
prediction intervals in
Y_hat_df
k
Ah this I am not familiar with
I suggest you post a new msg btw
Do you have code to reproduce?