antoinecarme / pyaf

PyAF is an Open Source Python library for Automatic Time Series Forecasting built on top of popular pydata modules.
BSD 3-Clause "New" or "Revised" License
457 stars 73 forks source link

Plot Functions Improvement #169

Closed antoinecarme closed 3 years ago

antoinecarme commented 3 years ago

Some plots are still missing. Need some refactoring at the global level.

  1. Forecast quantiles plots are missing in the png-base64 form (web service)
  2. Hierarchies are not easily plotted.
antoinecarme commented 3 years ago

For hierarchical models :

  1. Plot the hierarchy (with the MAPE at each node)
  2. Plot the standard plots for each signal of each level of the hierarchy (trends, cycles, ARs, prediction intervals, etc. Dozens of plots)
  3. Allows all these plots in the web service (as a dict of png-base64 strings)
antoinecarme commented 3 years ago

Double check all the jupyter notebooks.

antoinecarme commented 3 years ago

Display the hierarchical structure with the MAPE for each node and each reconciliation method (["BU" , 'TD' , 'MO' , 'OC']):

image

antoinecarme commented 3 years ago

Updated web services

image

antoinecarme commented 3 years ago

Updated web services. Available plots :


        "Plots": [
          {
            "AR": "https://pyaf.herokuapp.com/model/Ozone_Model_12/plot/AR",
            "Cycle": "https://pyaf.herokuapp.com/model/Ozone_Model_12/plot/Cycle",
            "Forecast": "https://pyaf.herokuapp.com/model/Ozone_Model_12/plot/Forecast",
            "Forecast_Quantiles": "https://pyaf.herokuapp.com/model/Ozone_Model_12/plot/Forecast_Quantiles",
            "Prediction_Intervals": "https://pyaf.herokuapp.com/model/Ozone_Model_12/plot/Prediction_Intervals",
            "Trend": "https://pyaf.herokuapp.com/model/Ozone_Model_12/plot/Trend",
            "all": "https://pyaf.herokuapp.com/model/Ozone_Model_12/plot/all"
          }
        ]