Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate Large Horizon Models #213

Closed
antoinecarme opened this issue Aug 30, 2022 · 17 comments
Closed

Investigate Large Horizon Models #213

antoinecarme opened this issue Aug 30, 2022 · 17 comments

Comments

@antoinecarme
Copy link
Owner

Large Horizon Models (H large enough). Profiling for CPU/memory/speed.

Compute Prediction intervals for all tested models.
Use more sophistical forecast perf combination in model selection (mean ? max ?). decreasing time based weights ?
Take into account the shape of the prediction interval (esthetic for model precision).

@antoinecarme
Copy link
Owner Author

Large Horizon => Long Term ???

@antoinecarme antoinecarme changed the title Large Horizon Models Investigate Large Horizon Models Feb 4, 2023
antoinecarme added a commit that referenced this issue Feb 4, 2023
…ies for larger horizons (H=12, 24, 36, 48)
@antoinecarme
Copy link
Owner Author

Added movies of prediction intervals for Ozone and airline passengers models for increasing horizons (H=12, 24, 36, 48).

https://github.com/antoinecarme/PyAF_Benchmarks/tree/master/model_visualizer

@antoinecarme
Copy link
Owner Author

antoinecarme commented Feb 24, 2023

Add a voting system. Condorcet method by default

https://en.wikipedia.org/wiki/Condorcet_method

Each model has performance measures for each horizon. The value of the performance measure is considered as a horizon vote (H voters). Longer horizons are weighted (the longer the model performs, the better it is).

For the Condorcet method, each pair of models is compared (MAPE values).

In a pair competition , the winning model (smaller MAPE) is assigned a score of 1, this score is reweighted by the horizon length.

$$ Score(M) = \sum_h \sum_{m != M} h * \mathbb{1}_{MAPE(M , h) < MAPE(m, h)} $$

where $MAPE(m, h)$ is the h-point ahead MAPE for a model m on the validation dataset (multi-step error).

By design, the higher the voting score, the better it is.

@antoinecarme
Copy link
Owner Author

antoinecarme commented Feb 24, 2023

@antoinecarme
Copy link
Owner Author

H = 50

image

@antoinecarme
Copy link
Owner Author

H = 100

image

@antoinecarme
Copy link
Owner Author

H = 200

image

@antoinecarme
Copy link
Owner Author

H = 500

image

@antoinecarme
Copy link
Owner Author

H = 800

image

@antoinecarme
Copy link
Owner Author

H = 1000

image

@antoinecarme
Copy link
Owner Author

antoinecarme commented Feb 24, 2023

TODO: Add some documentation about the new model selection procedure, with a detailed example.

For the moment :
#213 (comment)

@antoinecarme
Copy link
Owner Author

antoinecarme commented Feb 24, 2023

TODO: Keep some kind of backward compatibility. Use a new training option to choose between Condorcet and the old method.

Done.

5e496ad

@antoinecarme
Copy link
Owner Author

TODO : Do some "homework" about existing state of the art methods (FPP3 ?) !!!

antoinecarme added a commit that referenced this issue Feb 24, 2023
antoinecarme added a commit that referenced this issue Feb 24, 2023
antoinecarme added a commit that referenced this issue Feb 24, 2023
antoinecarme added a commit that referenced this issue Feb 24, 2023
antoinecarme added a commit that referenced this issue Feb 24, 2023
@antoinecarme
Copy link
Owner Author

antoinecarme commented Feb 25, 2023

Advanced Review
Open Access
Review of automated time series forecasting pipelines
Stefan Meisenbacher, Marian Turowski, Kaleb Phipps, Martin Rätz, Dirk Müller, Veit Hagenmeyer, Ralf Mikut
First published: 09 August 2022
https://doi.org/10.1002/widm.1475

https://wires.onlinelibrary.wiley.com/doi/full/10.1002/widm.1475

image

@antoinecarme
Copy link
Owner Author

antoinecarme commented Feb 25, 2023

@antoinecarme
Copy link
Owner Author

Measuring forecast accuracy
Rob J Hyndman
Monday, 31 March 2014

https://robjhyndman.com/papers/forecast-accuracy.pdf

image

antoinecarme added a commit that referenced this issue Mar 8, 2023
… the first and last multistep forecast perfs. Updated these perfs
antoinecarme added a commit that referenced this issue Mar 8, 2023
… the first and last multistep forecast perfs. Updated these perfs
antoinecarme added a commit that referenced this issue Mar 8, 2023
… the first and last multistep forecast perfs. Updated these perfs
antoinecarme added a commit that referenced this issue Mar 8, 2023
… the first and last multistep forecast perfs. Updated these perfs
antoinecarme added a commit that referenced this issue Mar 8, 2023
… the first and last multistep forecast perfs. Updated these perfs
antoinecarme added a commit that referenced this issue Mar 8, 2023
… the first and last multistep forecast perfs. Updated these perfs
antoinecarme added a commit that referenced this issue Mar 8, 2023
… the first and last multistep forecast perfs. Updated these perfs
antoinecarme added a commit that referenced this issue Mar 8, 2023
… the first and last multistep forecast perfs. Updated these perfs
antoinecarme added a commit that referenced this issue Mar 8, 2023
… the first and last multistep forecast perfs. Updated these perfs
antoinecarme added a commit that referenced this issue Mar 8, 2023
… the first and last multistep forecast perfs. Updated these perfs
antoinecarme added a commit that referenced this issue Mar 8, 2023
… the first and last multistep forecast perfs. Updated these perfs
antoinecarme added a commit that referenced this issue Mar 8, 2023
… the first and last multistep forecast perfs. Updated these perfs
antoinecarme added a commit that referenced this issue Mar 8, 2023
… the first and last multistep forecast perfs. Updated these perfs
antoinecarme added a commit that referenced this issue Mar 8, 2023
… the first and last multistep forecast perfs. Updated these perfs
antoinecarme added a commit that referenced this issue Mar 8, 2023
… the first and last multistep forecast perfs. Updated these perfs
antoinecarme added a commit that referenced this issue Mar 8, 2023
… the first and last multistep forecast perfs. Updated these perfs
antoinecarme added a commit that referenced this issue Mar 8, 2023
… the first and last multistep forecast perfs. Updated these perfs
antoinecarme added a commit that referenced this issue Mar 8, 2023
… the first and last multistep forecast perfs. Updated these perfs
antoinecarme added a commit that referenced this issue Mar 8, 2023
… the first and last multistep forecast perfs. Updated these perfs
antoinecarme added a commit that referenced this issue Mar 8, 2023
… the first and last multistep forecast perfs. Updated these perfs
antoinecarme added a commit that referenced this issue Mar 8, 2023
… the first and last multistep forecast perfs. Updated these perfs
antoinecarme added a commit that referenced this issue Mar 8, 2023
… the first and last multistep forecast perfs. Updated these perfs
antoinecarme added a commit that referenced this issue Mar 8, 2023
… the first and last multistep forecast perfs. Updated these perfs
antoinecarme added a commit that referenced this issue Mar 8, 2023
… the first and last multistep forecast perfs. Updated these perfs
antoinecarme added a commit that referenced this issue Mar 8, 2023
… the first and last multistep forecast perfs. Updated these scripts
antoinecarme added a commit that referenced this issue Mar 8, 2023
… the first and last multistep forecast perfs. Updated these scripts
@antoinecarme
Copy link
Owner Author

Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant