sktime / pytorch-forecasting

Time series forecasting with PyTorch
https://pytorch-forecasting.readthedocs.io/
MIT License
3.99k stars 631 forks source link

[BUG] Bugfix when no exogenous variable is passed to TFT #1667

Open XinyuWuu opened 2 months ago

XinyuWuu commented 2 months ago

This PR fix the bug when no exogenous variable is passed to TFT.

Previously, if no exogenous variable is passed, TFT will fail with log_interval != -1 and do nothing when log_interval == -1.

Details can be found: https://github.com/sktime/sktime/pull/6228