Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: Transformer for time series #711

Open
jannik-scheider opened this issue Oct 10, 2023 · 0 comments
Open

Question: Transformer for time series #711

jannik-scheider opened this issue Oct 10, 2023 · 0 comments

Comments

@jannik-scheider
Copy link

jannik-scheider commented Oct 10, 2023

Hi,
My problem: I want to determine a value for time t based on variables at time t and their associated time series, i.e. values at time t-1, t-2, and so on.
So for example: I have a dataset with 4 columns which store values for certain sensors (e.g. A,B,C,D). Additionally I have a datetime column. I want that my model predicts the value for sensor A at time t by only looking at Sensor B, C, D time series, so time t, t-1, t-2, t-3 ... . In general when I test my Model I have an input of size [sequence length, variables (without target)] and my output is my target variable, so one value.

I want to implement the whole thing with a transformer. However, when configuring your framework, I specify my Target column and in the relevant columns I also specify my Target column again. If I understand it correctly, the model learns additionally about the history of the target column. However, I do not want this in my example. ( For training I have the information of the target variable of course, but I don't want this information to influence the weights of the model, but only based on the other relevant columns).
Is there a solution to adapt the configuration for a SimpleTransformer, Informer or Crossformer to my mentioned problem?

@jannik-scheider jannik-scheider changed the title Transformer for time series Question: Transformer for time series Oct 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant