-
Notifications
You must be signed in to change notification settings - Fork 294
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
How to use it for multivariate forecasting? #13
Comments
@harshitv804 as we discussed in the paper, Chronos currently focuses on univariate forecasting. For multivariate time series, you might want to use Chronos on the individual dimensions independently. If you have specific multivariate use cases/datasets to share with us, please do. It will helpful for us to understand the types of practical multivariate problems. |
Keeping this open for visibility, since others may have the same question |
Can chronos take multiple inputs (channels) but make predictions on a single one of them? I have pushed a data of size: (n_features, samples) and it makes predictions on one of them. However, it seems like I cannot choose the feature that it is making predictions on. Is there a way to choose it? Thanks |
@ozanbarism if I understand your question right, you want to provide covariates: this is not possible, see #22.
I'm not sure what you mean here: don't you get predictions for all of them? That's what should happen |
From the documentation:
So you will get more than one output (multiple future trajectories) equal to the The code example is a bit difficult to follow (why add a model wrapper here?) I suspect that you're only getting one prediction because you set the 0th forecast to always be output with for i in range(num_of_series):
forecast[i].median() Hope this helps. |
@harshitv804 I am working on extending chronos to add covariates using an lgbm regression head on top of univariate embeddings |
@abdulfatir The multivariate use case I have is to forecast the open, high, low, and close of an asset in the financial markets aka candlestick charts. In this case, I don't think forecasting on the individual dimensions independently is ideal, since in a given timestep, since there is a dependent relationship between the dimensions. |
@hsm207 Do you want to forecast all 3 variables future based on all 3 variables past value? |
@ikvision yes, I want to forecast all 4 variables (open, high, low, close) based on the 4 variable's past value.
I have not. Thanks for sharing! I was not aware of this paper before. From the abstract, it looks like it will help. |
Hi, guys. Thanks for your discussion. I got some useful info, cool. In my case, I have the medical data of different vital signs for multiple patients. These are multivariate time series data. The multivariate part comes from different measurement items, like PH, SpO2, Urine Output, etc total 12 item. For example, for the 5000 samples. We will have the data(ndarray) shape (5000, 12, 200). 12 features over 200 times steps. The dataset please check the output of this notebook https://www.kaggle.com/code/wangyuweikiwi/mimi-iii-time-series-data-preprocessing |
No description provided.
The text was updated successfully, but these errors were encountered: