timeseriesAI / tsai

Time series Timeseries Deep Learning Machine Learning Python Pytorch fastai | State-of-the-art Deep Learning library for Time Series and Sequences in Pytorch / fastai
https://timeseriesai.github.io/tsai/
Apache License 2.0
5.1k stars 639 forks source link

how to use multivariate variables forcast using transformer model #643

Closed rk0033 closed 1 year ago

rk0033 commented 1 year ago

Hello. Please tell me about the tsai model with multivariate variables.

I am trying to create a time series model with multivariate variables using transformer model of tsai. In the Forecasting section of the document below, it says "univariate or multivariate time series input," but I can only find examples of univariate forcast and not multivariate forcast. https://timeseriesai.github.io/tsai/#forecasting When I trained a model with multivariate variables and performed inference, the result was unnatural oscillation.

Please tell me an example of multivariate forcast description? Or should I use the following Multivariate Regression instead of Forcasting? https://timeseriesai.github.io/tsai/#multivariate-regression

oguiza commented 1 year ago

Hi @rk0033, I don't have any examples I can share with you right now. But I'm preparing several time series forecasting tutorials to demonstrate how to use tsai in many common scenarios. I'll share them over the next few weeks.

oguiza commented 1 year ago

Hi @rk0033, I've recently released a new tutorial notebook that focuses on long-term, multivariate time series forecasting: https://github.com/timeseriesAI/tsai/blob/main/tutorial_nbs/15_PatchTST_a_new_transformer_for_LTSF.ipynb It uses a new, state-of-the-art transformer architecture called PatchTST. I hope you'll find it useful.

oguiza commented 1 year ago

Closed due to lack of response.

rk0033 commented 1 year ago

@oguiza Sorry for late reply. Thank you. I will let you use it.