Comments (2)
Thank you so much for the explanation Javier!
It makes way more sense to me now :-)
I also see your point about the metric, thanks for the heads up!
from skforecast.
Hello @fredn19,
Thanks for opening the topic. You are right, normally you would expect less execution time for a smaller number of refits.
The reason why the time for refit=True
was 2 min and for refit=7
was 30 min is parallelization. While refit=True
allows parallelization, when refit is an integer other than 1, parallelization is not possible because the various model fits must follow a logical order. This configuration is automated thanks to n_jobs='auto'
.
What I can suggest to reduce time when refit=7
:
- Don't use interval forecasting for prototyping. It will speed up the backtesting process.
- If interval prediction is a must, reduce the number of
n_boot
. Probably a number around 200 will give you similar results.
By the way, you might be interested in reading this article about metrics when building a forecasting model:
https://towardsdatascience.com/forecast-kpi-rmse-mae-mape-bias-cdc5703d242d
Hope it helps!
Javier
from skforecast.
Related Issues (20)
- A single model multivariate forecaster HOT 3
- Issue saving ForecasterSarimax object HOT 4
- Custom predictors are inefficient for window features HOT 1
- grid_search_sarimax takes a very long time to run HOT 1
- Feature request: Add ability to skip steps in backtesting HOT 6
- Bad error handling when Index is neither RangeIndex nor DateIndex HOT 3
- syntax error !! HOT 1
- Feature request: Custom predictors for multivariate forecasting
- Series-specifc exogenous vars for ForecasterAutoregMultiSeries HOT 2
- add method to forecasters to return the input data that is passed to the model to make predictions HOT 1
- allow extraction of features from y
- Feature request: Allow the training set to be passed to custom error metrics HOT 2
- XGboost using GPU
- MissingValuesExogWarning despite no NaN HOT 1
- Fitted Values HOT 2
- Using skforecast with panel data HOT 5
- Disable progress bar HOT 1
- Time Series Differentiation not working as expected HOT 3
- ForecasterSarimax - AttributeError: 'PeriodIndex' object has no attribute 'step' HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from skforecast.