Closed DevSoftChuck closed 1 year ago
Hi @DevSoftChuck,
Thank you for sharing a code snippet.
From the parameters used to create your model, I can see that you set input_chunk_length=60
, it means that the model needs 60 time stamps in order to produce output_chunk_length=6
values. Hence, the minimum length of the validation set must contain at least 66 values.
HI @madtoinou, thank you so much for your response, that solved my issue.
Why is this a requirement? Is target automatically used as an input even though it might be absent from past_covariates?
Hi @tRosenflanz,
Can you please open a separate issue to ask your question?
Describe the bug Hello everyone! I hope you're doing great. The problem is that when I pass the validation data to my model to train/fit it I get this error:
ValueError: The provided validation time series dataset is too short for obtaining even one training point.
. However, my validation dataset has 6 records, so it is not empty or null. The following image shows myval_dataset
calledasu_val_spi_scaled
:To Reproduce
Expected behavior Using early stopping feature, I should be able to train my model with the validation data provided.
System:
Additional context Add any other context about the problem here.