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

All models failed Modeltime Calibration: #231

Open
nomanres opened this issue Sep 28, 2023 · 2 comments
Open

All models failed Modeltime Calibration: #231

nomanres opened this issue Sep 28, 2023 · 2 comments

Comments

@nomanres
Copy link

I have a set of equal univariate timeseries with id and prepared recipe like this:

rec_obj <- recipe(value ~ ., training(splits)) %>%
step_mutate_at(id, fn = droplevels) %>%
step_date(date, features = c("month", "quarter", "year")) %>%
step_mutate(dt = as.numeric(date)) %>%
step_rm(date) %>%
step_dummy(all_nominal_predictors(), one_hot = TRUE)

And I use code from Forecasting with Global Models (modeltime
1.2.8.9000) with xgboost model.
I cannot calibrate my model
calib_tbl <- model_tbl %>%
modeltime_calibrate(
new_data = testing(splits),
id = "id"
)

calib_tbl

@nomanres
Copy link
Author

using step_timeseries_signature() gives the same error

@mdancho84
Copy link
Contributor

Without a full reproducible example, I'm not able to help.

Ideas: Try updating your R packages.

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

2 participants