You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm experimenting with nixtla_client_cross_validation(). When I'm using monthly data and some of the time series have few observations, I get an error when setting finetune_steps.
This works:
n_obs <- 37
# Create data
test_tbl <- tibble(
unique_id = "id",
ds = seq.Date(from = as.Date("2019-01-01"), length.out = n_obs, by = "month"),
y = round(runif(n_obs, min = 10, max = 20))
)
timegpt_tscv <- nixtla_client_cross_validation(
df = test_tbl,
h = 12,
id_col = "unique_id",
time_col = "ds",
target_col = "y",
n_windows = 1,
finetune_steps = 10
)
This throws an error:
n_obs <- 36
# Create data
test_tbl <- tibble(
unique_id = "id",
ds = seq.Date(from = as.Date("2019-01-01"), length.out = n_obs, by = "month"),
y = round(runif(n_obs, min = 10, max = 20))
)
timegpt_tscv <- nixtla_client_cross_validation(
df = test_tbl,
h = 12,
id_col = "unique_id",
time_col = "ds",
target_col = "y",
n_windows = 1,
finetune_steps = 10
)
Frequency chosen: MS
Error in `httr2::req_perform()`:
! HTTP 500 Internal Server Error.
Then I tried different frequency.
Using weekly time series, even when I cut one of them so it's only 3 weeks long, I get no error.
I'm experimenting with nixtla_client_cross_validation(). When I'm using monthly data and some of the time series have few observations, I get an error when setting finetune_steps.
This works:
This throws an error:
Then I tried different frequency.
Using weekly time series, even when I cut one of them so it's only 3 weeks long, I get no error.
The text was updated successfully, but these errors were encountered: