transformer icon indicating copy to clipboard operation
transformer copied to clipboard

Can time series A be used to predict time series B?

Open chuzheng88 opened this issue 3 years ago • 4 comments

I have read the docs of this github project. In some notebook, I found that time series A was used to predict time series B. I want to know that the Transformer proposed in this project could use time series A to predict time series B.

chuzheng88 avatar Mar 15 '22 08:03 chuzheng88

Hi, yes it can. It actually for this kind of application this model was designed.

maxjcohen avatar Mar 15 '22 14:03 maxjcohen

Oh, I'm so sorry, my question was writen wrong. The right question is described as follows:

In some notebook, I found that time series A was used to predict the same time series A. I want to know that the Transformer proposed in this project could use time series A to predict time series B.

In addition, I want to use your project code to deal with a regression problem, and it is described as follows: X = [ [[time series sequence 1]], [[time series sequence 2]],


[[time series sequence s]], ] and y = [ [[label 1]], [[label 2]],


[[label s]], ] where sequences are not the same length. So I want to just use your model definition (transformer.py) and paddding all sequences to the same length in my dataset before input the model.

Is there any thing I need to pay attention to in this job ? Or do you have other suggestions ?

Thansk.

chuzheng88 avatar Mar 16 '22 09:03 chuzheng88

are you solve the problem?

YangJoy750 avatar Jul 01 '22 09:07 YangJoy750

are you solve the problem?

No

chuzheng88 avatar Sep 03 '22 08:09 chuzheng88