Comments (1)
Hi @suswamin,
Sorry for the delay, I did not realize that this issue went without answer for so long.
When a model is created with multi_models=False
, only one set of coefficients is fitted for all the forecasted positions. Since using the same features with one set of coefficient would yield the exact same output for all the position in output_chunk_length
, the lags are actually shifted in the past by output_chunk_length - 1
.
You can visualize how the lags (target, past_covariates and future_covariates) are generated in the regression example notebook.
This means that to forecast the 7 values after the end of the training series, the length requirements when multi_models=False/True
are different.
validation_start = len(data)-8
shift = 7 - 1
forecast_validation = data.iloc[validation_start - shift:validation_start + 1]['weekday']
# using model created with `multi_models=False`
pred_xgb = XGB.predict(n=7, future_covariates=darts.TimeSeries.from_series(forecast_validation))
from darts.
Related Issues (20)
- [Question] Does backtest method automatically apply inverse transformation for mappings? HOT 3
- Support for adding static covariates included in each row of time series HOT 3
- [BUG] Codecov cannot upload report for PR based on branches coming from forks HOT 1
- [BUG] Optuna version? HOT 2
- [QUESTION] How can I use shapExplainer when using multi_models=False? HOT 2
- ATFNet
- Add Multi-Horizon Time Series Classification Support HOT 1
- Add IQR Anomaly Detector
- Nested Cross-validation HOT 1
- [BUG] FutureWarning: Series.fillna with 'method' is deprecated HOT 2
- [BUG]Cannot convert a MPS Tensor to float64 dtype as the MPS framework HOT 1
- While importing darts it throws cannot import name 'TypeAliasType' from 'typing_extensions' error HOT 1
- [Question] Extract training data and target from a model at timestep t HOT 1
- Static covariates with past or future covariates HOT 4
- [Question] How could I hide the "Finding best initial lr" message from pytorch_lightning when using Darts' Torch Forecasting Models? HOT 1
- Additional library support for SARIMAX models from darts package? HOT 5
- Enable feature reduction using data transformers HOT 1
- Help Reproducing the TiDE Paper HOT 6
- Tips on speeding up training of the TFT HOT 1
- Is there a way to train a forecasting model for a few epochs with one training length, and then increase the length for some further epochs? HOT 3
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 darts.