ydata-synthetic icon indicating copy to clipboard operation
ydata-synthetic copied to clipboard

[FEAT]How to feed TimeGAN with different input/output array sizes

Open amberyic opened this issue 3 years ago • 5 comments

I have many groups of sequence data, such as the stock data, I want to train GOOGL,AAPL,MSFT... in one model,but GOOGL/AAPL/MSFT have different sequence length. I hope the output can generate a similar variable length sequence. I want to know how to use this package to solve this type of problem.

amberyic avatar Apr 13 '21 07:04 amberyic

Hi, the sequence length modeled by TimeGAN is not the complete history of the stock. It's rather a window of e.g. 24 time steps. So, you get around different length history by using the earliest date all stocks have in common.

Salbinus avatar May 26 '21 19:05 Salbinus

Hey, great work, how would you be able to say to look further than just 1 a time step, i.e. a horizon of say 2

soya-miruku avatar Sep 01 '21 05:09 soya-miruku

@amberyic how did you solve the problem you reported on Github related to TimeGAN with different input/output array sizes. I'm interested to know because I'm facing the same problem. Would really appreciate your help. Thanks

pbezz1 avatar Jan 04 '22 20:01 pbezz1

I tried to expand the variable-length sequence into a fixed-length sequence, but the effect was not good. Finally I used another model: https://github.com/fjxmlzn/DoppelGANger

@amberyic how did you solve the problem you reported on Github related to TimeGAN with different input/output array sizes. I'm interested to know because I'm facing the same problem. Would really appreciate your help. Thanks

amberyic avatar Jan 04 '22 23:01 amberyic

@amberyic thanks for your reply. Can you give me some tips how you generated the data features for the DoppelGANger? Did you use stock prices or returns?

pbezz1 avatar Jan 07 '22 20:01 pbezz1