Skip to content
This repository has been archived by the owner on Jul 7, 2023. It is now read-only.

t2t & simple timeseries? Any example available? #544

Open
TanCari opened this issue Jan 27, 2018 · 3 comments
Open

t2t & simple timeseries? Any example available? #544

TanCari opened this issue Jan 27, 2018 · 3 comments
Labels

Comments

@TanCari
Copy link

TanCari commented Jan 27, 2018

Hi guys, congrats and thanks for development and help.

I would like to apply the most modern deep-learning techniques for analysis of sequential data to TIMESERIES coming from physical and chemical phenomena. So, no image processing and no automatic translation. Input and output are just a bunch of real numbers at every time step (the same number of them at every step). Ouputs depend only on the previous story of inputs.

My question: am I right at tensor2tensor or is this mainly thought for image and language processing? In case: is any simple example of subclassing "problem" for this simpler case available?

Thanx a lot for your precious help.

@alexwolf22
Copy link

For time series forecasting, how you define your problem and preprocess you data makes a big difference. For example how many timesteps/lag variables do you want to look back for prediction? How far ahead do you want to make a prediction? Are you going to deseasonalize your data or not? Will take the moving average when making a prediction multiple days ahead?

I don't think Tensor2Tensor is equipped to preprocess time series data like this. Using Keras may be a lot simpler, than using one of T2T's models. From my understanding, their default hyperparameters are for the datasets they supply, not ones you upload yourself.

Take a look at this article, which gives an example of making a time series problem with keras, and preprocessing data https://machinelearningmastery.com/time-series-prediction-lstm-recurrent-neural-networks-python-keras/

@johnyjyu
Copy link

Hi TanCari,
T2T team just added a time series data generator two days ago and there is a transformer parameter set for time series. Maybe it support time series prediction now.

@darpitdavetamu
Copy link

@theJiangYu Hello. I see your comment about the time series data generator but i am unable to find it despite extensively search it. Can you add more help for the same.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

5 participants