Closed chooron closed 2 years ago
Hello @chooron,
Can you please provide more details regarding:
Are you sure there aren't any static attributes associated with your data/use case? Just as an example: If the dataset is composed of time-series data associated with specific entities, you can encode these entities, and these encodings can serve as static (categorical) data (See the examples in the tutorial as a reference).
In the paper this repository is implementing, the static attributes have an essential role as part of the model. Take a look at the Static Covarite Encoding component (both in the paper and in the associated blogpost). They affect the variable selection mechanisms, sequence-to-sequence processing, and representation enrichment.
According to your response, we'll be able to understand if there is a need for a solution that does not require the user in specifying static variables.
Hello @Dvirbeno , Thanks for your reply, you can find the dataset in this link, the "historical_numeric" is the ['close', 'high', 'low', 'open'], the "future_numeric" is the ['year','month','dayOfmonth'], the outcome is 'volume', and there aren't any static attributes.
In the case of your dataset, if you would have had records of other stocks, as an example, you could encode the identity of the corresponding stock as a static (categorical) input.
I see that your dataset includes only a single stock. We will work on a solution for cases when there aren't any static inputs. In the meantime, you can feed the model with a dummy static input, e.g. a tensor of ones (for each element in the batch).
By the way, it seems reasonable to include both ['year','month','dayOfmonth']
and the volume
signal as part of the historical time-series as well.
Thanks for your suggestion, I will try to use other stock records, and use the ['year','month','dayOfmonth'] and volume as historical time-series.
Hello, thanks for your work in the "tft-torch" ! I am facing a problem that using multivariate time series to forecast an univariate time series (similar to the stock dataset). However, I get a bad forecast result when run the model in my dataset, and I don't know what went wrong. The model config is
I don't have static numeric data, so I set 1.0 for the numeric data. and the pytorch-lightning code is
I hope you can solve my problem!