-
Notifications
You must be signed in to change notification settings - Fork 129
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
Linking multiple mapping multiple dynamic targets to a target #1321
Comments
If I understand correctly, I think all you need is a accuracy = target(
accuracy_explorer(
mode = "test",
models = models_training,
max_forecast_horizon = argument_parser$horizon,
bucket = argument_parser$outputbucket,
bucket_folder = "test_lifecounter",
testing_data = testing_data
),
dynamic = map(models_training, testing_data),
transform = map(models_training)
) In general terms, library(drake)
plan <- drake_plan(
x = seq_len(40),
y = target(
f(x),
transform = map(f = c(fun1, fun2)),
dynamic = map(x)
),
z = target(
f(y),
transform = map(y, f, .id = f),
dynamic = map(y)
)
)
print(plan)
#> # A tibble: 5 x 3
#> target command dynamic
#> <chr> <expr> <expr>
#> 1 x seq_len(40) NA
#> 2 y_fun1 fun1(x) map(x)
#> 3 y_fun2 fun2(x) map(x)
#> 4 z_fun1 fun1(y_fun1) map(y_fun1)
#> 5 z_fun2 fun2(y_fun2) map(y_fun2)
plot(plan) Created on 2020-09-11 by the reprex package (v0.3.0) |
Hi @wlandau Almost there: But when I check on the logs: [4] "Training prophet_multiplicative models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 2"
[5] "Training arima_with_monthly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 2"
[6] "Training regression_with_arima_errors models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 2"
[7] "Training tslm models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 2"
[8] "Training theta models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 2"
[1] "Using 12 sessions from as future::plan()"
> subtarget models_training_auto_arima_ca5c2865
[1] "Training auto_arima models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 3"
[2] "Training arima_with_yearly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 3"
[3] "Training pophet_additive models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 3"
[4] "Training prophet_multiplicative models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 3"
[5] "Training arima_with_monthly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 3"
[6] "Training regression_with_arima_errors models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 3"
[7] "Training tslm models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 3"
[8] "Training theta models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 3"
[1] "Using 12 sessions from as future::plan()"
> subtarget models_training_auto_arima_a3aff9ad
[1] "Training auto_arima models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 1"
[2] "Training arima_with_yearly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 1"
[3] "Training pophet_additive models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 1"
[4] "Training prophet_multiplicative models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 1"
[5] "Training arima_with_monthly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 1"
[6] "Training regression_with_arima_errors models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 1"
[7] "Training tslm models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 1"
[8] "Training theta models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 1"
[1] "Using 12 sessions from as future::plan()"
> subtarget models_training_auto_arima_2966b24a
[1] "Training auto_arima models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 2"
[2] "Training arima_with_yearly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 2"
[3] "Training pophet_additive models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 2"
[4] "Training prophet_multiplicative models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 2"
[5] "Training arima_with_monthly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 2"
[6] "Training regression_with_arima_errors models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 2"
[7] "Training tslm models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 2"
[8] "Training theta models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 2"
[1] "Using 12 sessions from as future::plan()"
> subtarget models_training_auto_arima_4a31b2c1
[1] "Training auto_arima models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 3"
[2] "Training arima_with_yearly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 3"
[3] "Training pophet_additive models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 3"
[4] "Training prophet_multiplicative models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 3"
[5] "Training arima_with_monthly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 3"
[6] "Training regression_with_arima_errors models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 3"
[7] "Training tslm models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 3"
[8] "Training theta models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 3"
[1] "Using 12 sessions from as future::plan()"
> subtarget models_training_auto_arima_0e3676c9
[1] "Training auto_arima models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 1"
[2] "Training arima_with_yearly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 1"
[3] "Training pophet_additive models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 1"
[4] "Training prophet_multiplicative models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 1"
[5] "Training arima_with_monthly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 1"
[6] "Training regression_with_arima_errors models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 1"
[7] "Training tslm models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 1"
[8] "Training theta models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 1"
[1] "Using 12 sessions from as future::plan()"
> subtarget models_training_auto_arima_997d675e
[1] "Training auto_arima models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 2"
[2] "Training arima_with_yearly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 2"
[3] "Training pophet_additive models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 2"
[4] "Training prophet_multiplicative models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 2"
[5] "Training arima_with_monthly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 2"
[6] "Training regression_with_arima_errors models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 2"
[7] "Training tslm models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 2"
[8] "Training theta models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 2"
[1] "Using 12 sessions from as future::plan()"
> subtarget models_training_auto_arima_134802c2
[1] "Training auto_arima models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 3"
[2] "Training arima_with_yearly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 3"
[3] "Training pophet_additive models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 3"
[4] "Training prophet_multiplicative models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 3"
[5] "Training arima_with_monthly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 3"
[6] "Training regression_with_arima_errors models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 3"
[7] "Training tslm models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 3"
[8] "Training theta models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 3"
[1] "Using 12 sessions from as future::plan()"
> subtarget models_training_auto_arima_f10513d9
> subtarget models_training_auto_arima_3258576f
[1] "Training auto_arima models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 1"
[2] "Training arima_with_yearly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 1"
[3] "Training pophet_additive models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 1"
[4] "Training prophet_multiplicative models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 1"
[5] "Training arima_with_monthly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 1"
[6] "Training regression_with_arima_errors models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 1"
[7] "Training tslm models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 1"
[8] "Training theta models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 1"
[1] "Using 12 sessions from as future::plan()"
▶ dynamic models_training_theta
[1] "Training auto_arima models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 2"
[2] "Training arima_with_yearly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 2"
[3] "Training pophet_additive models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 2"
[4] "Training prophet_multiplicative models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 2"
[5] "Training arima_with_monthly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 2"
[6] "Training regression_with_arima_errors models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 2"
[7] "Training tslm models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 2"
[8] "Training theta models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 2"
[1] "Using 12 sessions from as future::plan()"
> subtarget models_training_theta_ef8b2553
[1] "Training auto_arima models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 3"
[2] "Training arima_with_yearly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 3"
[3] "Training pophet_additive models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 3"
[4] "Training prophet_multiplicative models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 3"
[5] "Training arima_with_monthly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 3"
[6] "Training regression_with_arima_errors models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 3"
[7] "Training tslm models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 3"
[8] "Training theta models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 3"
[1] "Using 12 sessions from as future::plan()"
> subtarget models_training_theta_d7e53524
[1] "Training auto_arima models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 1"
[2] "Training arima_with_yearly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 1"
[3] "Training pophet_additive models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 1"
[4] "Training prophet_multiplicative models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 1"
[5] "Training arima_with_monthly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 1"
[6] "Training regression_with_arima_errors models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 1"
[7] "Training tslm models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 1"
[8] "Training theta models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 1"
[1] "Using 12 sessions from as future::plan()"
> subtarget models_training_theta_bd5ab443
[1] "Training auto_arima models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 2"
[2] "Training arima_with_yearly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 2"
[3] "Training pophet_additive models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 2"
[4] "Training prophet_multiplicative models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 2"
[5] "Training arima_with_monthly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 2"
[6] "Training regression_with_arima_errors models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 2"
[7] "Training tslm models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 2"
[8] "Training theta models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 2"
[1] "Using 12 sessions from as future::plan()"
> subtarget models_training_theta_ca5c2865
[1] "Training auto_arima models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 3"
[2] "Training arima_with_yearly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 3"
[3] "Training pophet_additive models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 3"
[4] "Training prophet_multiplicative models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 3"
[5] "Training arima_with_monthly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 3"
[6] "Training regression_with_arima_errors models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 3"
[7] "Training tslm models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 3"
[8] "Training theta models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 3"
[1] "Using 12 sessions from as future::plan()"
> subtarget models_training_theta_a3aff9ad
[1] "Training auto_arima models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 1"
[2] "Training arima_with_yearly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 1"
[3] "Training pophet_additive models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 1"
[4] "Training prophet_multiplicative models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 1"
[5] "Training arima_with_monthly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 1"
[6] "Training regression_with_arima_errors models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 1"
[7] "Training tslm models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 1"
[8] "Training theta models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 1"
[1] "Using 12 sessions from as future::plan()"
> subtarget models_training_theta_2966b24a
[1] "Training auto_arima models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 2"
[2] "Training arima_with_yearly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 2"
[3] "Training pophet_additive models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 2"
[4] "Training prophet_multiplicative models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 2"
[5] "Training arima_with_monthly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 2"
[6] "Training regression_with_arima_errors models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 2"
[7] "Training tslm models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 2"
[8] "Training theta models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 2"
[1] "Using 12 sessions from as future::plan()"
[1] "Training auto_arima models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 2"
[2] "Training arima_with_yearly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 2"
[3] "Training pophet_additive models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 2"
[4] "Training prophet_multiplicative models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 2"
[5] "Training arima_with_monthly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 2"
[6] "Training regression_with_arima_errors models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 2"
[7] "Training tslm models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 2"
[8] "Training theta models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 2"
[1] "Using 12 sessions from as future::plan()"
> subtarget models_training_theta_4a31b2c1
[1] "Training auto_arima models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 3"
[2] "Training arima_with_yearly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 3"
[3] "Training pophet_additive models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 3"
[4] "Training prophet_multiplicative models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 3"
[5] "Training arima_with_monthly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 3"
[6] "Training regression_with_arima_errors models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 3"
[7] "Training tslm models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 3"
[8] "Training theta models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 3"
[1] "Using 12 sessions from as future::plan()"
> subtarget models_training_theta_0e3676c9
[1] "Training auto_arima models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 1"
[2] "Training arima_with_yearly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 1"
[3] "Training pophet_additive models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 1"
[4] "Training prophet_multiplicative models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 1"
[5] "Training arima_with_monthly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 1"
[6] "Training regression_with_arima_errors models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 1"
[7] "Training tslm models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 1"
[8] "Training theta models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 1"
[1] "Using 12 sessions from as future::plan()"
> subtarget models_training_theta_997d675e
[1] "Training auto_arima models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 2"
[2] "Training arima_with_yearly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 2"
[3] "Training pophet_additive models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 2"
[4] "Training prophet_multiplicative models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 2"
[5] "Training arima_with_monthly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 2"
[6] "Training regression_with_arima_errors models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 2"
[7] "Training tslm models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 2"
[8] "Training theta models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 2"
[1] "Using 12 sessions from as future::plan()"
> subtarget models_training_theta_134802c2
[1] "Training auto_arima models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 3"
[2] "Training arima_with_yearly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 3"
[3] "Training pophet_additive models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 3"
[4] "Training prophet_multiplicative models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 3"
[5] "Training arima_with_monthly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 3"
[6] "Training regression_with_arima_errors models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 3"
[7] "Training tslm models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 3"
[8] "Training theta models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 3"
[1] "Using 12 sessions from as future::plan()"
> subtarget models_training_theta_f10513d9
> subtarget models_training_theta_3258576f
[1] "Training auto_arima models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 1"
[2] "Training arima_with_yearly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 1"
[3] "Training pophet_additive models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 1"
[4] "Training prophet_multiplicative models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 1"
[5] "Training arima_with_monthly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 1"
[6] "Training regression_with_arima_errors models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 1"
[7] "Training tslm models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 1"
[8] "Training theta models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 1"
[1] "Using 12 sessions from as future::plan()"
▶ dynamic models_training_tslm
[1] "Training auto_arima models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 2"
[2] "Training arima_with_yearly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 2"
[3] "Training pophet_additive models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 2"
[4] "Training prophet_multiplicative models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 2"
[5] "Training arima_with_monthly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 2"
[6] "Training regression_with_arima_errors models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 2"
[7] "Training tslm models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 2"
[8] "Training theta models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 2"
[1] "Using 12 sessions from as future::plan()"
> subtarget models_training_tslm_ef8b2553
[1] "Training auto_arima models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 3"
[2] "Training arima_with_yearly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 3"
[3] "Training pophet_additive models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 3"
[4] "Training prophet_multiplicative models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 3"
[5] "Training arima_with_monthly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 3"
[6] "Training regression_with_arima_errors models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 3"
[7] "Training tslm models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 3"
[8] "Training theta models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 3"
[1] "Using 12 sessions from as future::plan()"
> subtarget models_training_tslm_d7e53524
[1] "Training auto_arima models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 1"
[2] "Training arima_with_yearly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 1"
[3] "Training pophet_additive models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 1"
[4] "Training prophet_multiplicative models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 1"
[5] "Training arima_with_monthly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 1"
[6] "Training regression_with_arima_errors models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 1"
[7] "Training tslm models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 1"
[8] "Training theta models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 1"
[1] "Using 12 sessions from as future::plan()"
> subtarget models_training_tslm_bd5ab443
[1] "Training auto_arima models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 2"
[2] "Training arima_with_yearly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 2"
[3] "Training pophet_additive models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 2"
[4] "Training prophet_multiplicative models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 2"
[5] "Training arima_with_monthly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 2"
[6] "Training regression_with_arima_errors models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 2"
[7] "Training tslm models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 2"
[8] "Training theta models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 2"
[1] "Using 12 sessions from as future::plan()"
> subtarget models_training_tslm_ca5c2865
[1] "Training auto_arima models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 3"
[2] "Training arima_with_yearly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 3"
[3] "Training pophet_additive models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 3"
[4] "Training prophet_multiplicative models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 3"
[5] "Training arima_with_monthly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 3"
[6] "Training regression_with_arima_errors models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 3"
[7] "Training tslm models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 3"
[8] "Training theta models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 3"
[1] "Using 12 sessions from as future::plan()"
> subtarget models_training_tslm_a3aff9ad
[1] "Training auto_arima models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 1"
[2] "Training arima_with_yearly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 1"
[3] "Training pophet_additive models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 1"
[4] "Training prophet_multiplicative models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 1"
[5] "Training arima_with_monthly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 1"
[6] "Training regression_with_arima_errors models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 1"
[7] "Training tslm models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 1"
[8] "Training theta models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 1"
[1] "Using 12 sessions from as future::plan()"
> subtarget models_training_tslm_2966b24a
[1] "Training auto_arima models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 2"
[2] "Training arima_with_yearly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 2"
[3] "Training pophet_additive models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 2"
[4] "Training prophet_multiplicative models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 2"
[5] "Training arima_with_monthly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 2"
[6] "Training regression_with_arima_errors models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 2"
[7] "Training tslm models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 2"
[8] "Training theta models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 2"
[1] "Using 12 sessions from as future::plan()"
> subtarget models_training_tslm_4a31b2c1
[1] "Training auto_arima models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 3"
[2] "Training arima_with_yearly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 3"
[3] "Training pophet_additive models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 3"
[4] "Training prophet_multiplicative models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 3"
[5] "Training arima_with_monthly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 3"
[6] "Training regression_with_arima_errors models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 3"
[7] "Training tslm models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 3"
[8] "Training theta models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 3"
[1] "Using 12 sessions from as future::plan()"
> subtarget models_training_tslm_0e3676c9
[1] "Training auto_arima models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 1"
[2] "Training arima_with_yearly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 1"
[3] "Training pophet_additive models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 1"
[4] "Training prophet_multiplicative models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 1"
[5] "Training arima_with_monthly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 1"
[6] "Training regression_with_arima_errors models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 1"
[7] "Training tslm models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 1"
[8] "Training theta models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 1"
[1] "Using 12 sessions from as future::plan()"
> subtarget models_training_tslm_997d675e
[1] "Training auto_arima models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 2"
[2] "Training arima_with_yearly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 2"
[3] "Training pophet_additive models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 2"
[4] "Training prophet_multiplicative models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 2"
[5] "Training arima_with_monthly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 2"
[6] "Training regression_with_arima_errors models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 2"
[7] "Training tslm models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 2"
[8] "Training theta models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 2"
[1] "Using 12 sessions from as future::plan()"
> subtarget models_training_tslm_134802c2
[1] "Training auto_arima models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 3"
[2] "Training arima_with_yearly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 3"
[3] "Training pophet_additive models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 3"
[4] "Training prophet_multiplicative models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 3"
[5] "Training arima_with_monthly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 3"
[6] "Training regression_with_arima_errors models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 3"
[7] "Training tslm models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 3"
[8] "Training theta models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 3"
[1] "Using 12 sessions from as future::plan()"
> subtarget models_training_tslm_f10513d9
> subtarget models_training_tslm_3258576f
[1] "Training auto_arima models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 1"
[2] "Training arima_with_yearly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 1"
[3] "Training pophet_additive models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 1"
[4] "Training prophet_multiplicative models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 1"
[5] "Training arima_with_monthly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 1"
[6] "Training regression_with_arima_errors models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 1"
[7] "Training tslm models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 1"
[8] "Training theta models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 1"
[1] "Using 12 sessions from as future::plan()"
▶ dynamic models_training_regression_with_arima_errors
[1] "Training auto_arima models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 2"
[2] "Training arima_with_yearly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 2"
[3] "Training pophet_additive models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 2"
[4] "Training prophet_multiplicative models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 2"
[5] "Training arima_with_monthly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 2"
[6] "Training regression_with_arima_errors models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 2"
[7] "Training tslm models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 2"
[8] "Training theta models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 2"
[1] "Using 12 sessions from as future::plan()"
> subtarget models_training_regression_with_arima_errors_ef8b2553
[1] "Training auto_arima models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 3"
[2] "Training arima_with_yearly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 3"
[3] "Training pophet_additive models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 3"
[4] "Training prophet_multiplicative models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 3"
[5] "Training arima_with_monthly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 3"
[6] "Training regression_with_arima_errors models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 3"
[7] "Training tslm models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 3"
[8] "Training theta models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 3"
[1] "Using 12 sessions from as future::plan()"
> subtarget models_training_regression_with_arima_errors_d7e53524
[1] "Training auto_arima models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 1"
[2] "Training arima_with_yearly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 1"
[3] "Training pophet_additive models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 1"
[4] "Training prophet_multiplicative models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 1"
[5] "Training arima_with_monthly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 1"
[6] "Training regression_with_arima_errors models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 1"
[7] "Training tslm models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 1"
[8] "Training theta models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 1"
[1] "Using 12 sessions from as future::plan()"
> subtarget models_training_regression_with_arima_errors_bd5ab443
[1] "Training auto_arima models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 2"
[2] "Training arima_with_yearly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 2"
[3] "Training pophet_additive models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 2"
[4] "Training prophet_multiplicative models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 2"
[5] "Training arima_with_monthly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 2"
[6] "Training regression_with_arima_errors models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 2"
[7] "Training tslm models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 2"
[8] "Training theta models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 2"
[1] "Using 12 sessions from as future::plan()"
> subtarget models_training_regression_with_arima_errors_ca5c2865
[1] "Training auto_arima models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 3"
[2] "Training arima_with_yearly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 3"
[3] "Training pophet_additive models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 3"
[4] "Training prophet_multiplicative models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 3"
[5] "Training arima_with_monthly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 3"
[6] "Training regression_with_arima_errors models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 3"
[7] "Training tslm models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 3"
[8] "Training theta models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 3"
[1] "Using 12 sessions from as future::plan()"
> subtarget models_training_regression_with_arima_errors_a3aff9ad
[1] "Training auto_arima models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 1"
[2] "Training arima_with_yearly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 1"
[3] "Training pophet_additive models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 1"
[4] "Training prophet_multiplicative models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 1"
[5] "Training arima_with_monthly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 1"
[6] "Training regression_with_arima_errors models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 1"
[7] "Training tslm models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 1"
[8] "Training theta models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 1"
[1] "Using 12 sessions from as future::plan()"
> subtarget models_training_regression_with_arima_errors_2966b24a
[1] "Training auto_arima models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 2"
[2] "Training arima_with_yearly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 2"
[3] "Training pophet_additive models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 2"
[4] "Training prophet_multiplicative models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 2"
[5] "Training arima_with_monthly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 2"
[6] "Training regression_with_arima_errors models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 2"
[7] "Training tslm models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 2"
[8] "Training theta models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 2"
[1] "Using 12 sessions from as future::plan()"
> subtarget models_training_regression_with_arima_errors_4a31b2c1
[1] "Training auto_arima models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 3"
[2] "Training arima_with_yearly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 3"
[3] "Training pophet_additive models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 3"
[4] "Training prophet_multiplicative models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 3"
[5] "Training arima_with_monthly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 3"
[6] "Training regression_with_arima_errors models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 3"
[7] "Training tslm models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 3"
[8] "Training theta models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 3"
[1] "Using 12 sessions from as future::plan()"
> subtarget models_training_regression_with_arima_errors_0e3676c9
[1] "Training auto_arima models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 1"
[2] "Training arima_with_yearly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 1"
[3] "Training pophet_additive models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 1"
[4] "Training prophet_multiplicative models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 1"
[5] "Training arima_with_monthly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 1"
[6] "Training regression_with_arima_errors models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 1"
[7] "Training tslm models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 1"
[8] "Training theta models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 1"
[1] "Using 12 sessions from as future::plan()"
> subtarget models_training_regression_with_arima_errors_997d675e
[1] "Training auto_arima models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 2"
[2] "Training arima_with_yearly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 2"
[3] "Training pophet_additive models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 2"
[4] "Training prophet_multiplicative models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 2"
[5] "Training arima_with_monthly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 2"
[6] "Training regression_with_arima_errors models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 2"
[7] "Training tslm models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 2"
[8] "Training theta models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 2"
[1] "Using 12 sessions from as future::plan()"
> subtarget models_training_regression_with_arima_errors_134802c2
[1] "Training auto_arima models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 3"
[2] "Training arima_with_yearly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 3"
[3] "Training pophet_additive models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 3"
[4] "Training prophet_multiplicative models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 3"
[5] "Training arima_with_monthly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 3"
[6] "Training regression_with_arima_errors models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 3"
[7] "Training tslm models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 3"
[8] "Training theta models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 3"
[1] "Using 12 sessions from as future::plan()"
> subtarget models_training_regression_with_arima_errors_f10513d9
> subtarget models_training_regression_with_arima_errors_3258576f
[1] "Training auto_arima models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 1"
[2] "Training arima_with_yearly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 1"
[3] "Training pophet_additive models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 1"
[4] "Training prophet_multiplicative models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 1"
[5] "Training arima_with_monthly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 1"
[6] "Training regression_with_arima_errors models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 1"
[7] "Training tslm models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 1"
[8] "Training theta models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 1"
[1] "Using 12 sessions from as future::plan()"
▶ dynamic models_training_prophet_multiplicative
[1] "Training auto_arima models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 2"
[2] "Training arima_with_yearly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 2"
[3] "Training pophet_additive models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 2"
[4] "Training prophet_multiplicative models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 2"
[5] "Training arima_with_monthly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 2"
[6] "Training regression_with_arima_errors models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 2"
[7] "Training tslm models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 2"
[8] "Training theta models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 2"
[1] "Using 12 sessions from as future::plan()"
> subtarget models_training_prophet_multiplicative_ef8b2553
[1] "Training auto_arima models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 3"
[2] "Training arima_with_yearly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 3"
[3] "Training pophet_additive models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 3"
[4] "Training prophet_multiplicative models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 3"
[5] "Training arima_with_monthly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 3"
[6] "Training regression_with_arima_errors models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 3"
[7] "Training tslm models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 3"
[8] "Training theta models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 3"
[1] "Using 12 sessions from as future::plan()"
> subtarget models_training_prophet_multiplicative_d7e53524
[1] "Training auto_arima models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 1"
[2] "Training arima_with_yearly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 1"
[3] "Training pophet_additive models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 1"
[4] "Training prophet_multiplicative models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 1"
[5] "Training arima_with_monthly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 1"
[6] "Training regression_with_arima_errors models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 1"
[7] "Training tslm models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 1"
[8] "Training theta models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 1"
[1] "Using 12 sessions from as future::plan()"
> subtarget models_training_prophet_multiplicative_bd5ab443
[1] "Training auto_arima models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 2"
[2] "Training arima_with_yearly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 2"
[3] "Training pophet_additive models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 2"
[4] "Training prophet_multiplicative models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 2"
[5] "Training arima_with_monthly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 2"
[6] "Training regression_with_arima_errors models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 2"
[7] "Training tslm models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 2"
[8] "Training theta models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 2"
[1] "Using 12 sessions from as future::plan()"
> subtarget models_training_prophet_multiplicative_ca5c2865
[1] "Training auto_arima models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 3"
[2] "Training arima_with_yearly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 3"
[3] "Training pophet_additive models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 3"
[4] "Training prophet_multiplicative models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 3"
[5] "Training arima_with_monthly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 3"
[6] "Training regression_with_arima_errors models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 3"
[7] "Training tslm models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 3"
[8] "Training theta models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 3"
[1] "Using 12 sessions from as future::plan()"
> subtarget models_training_prophet_multiplicative_a3aff9ad
[1] "Training auto_arima models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 1"
[2] "Training arima_with_yearly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 1"
[3] "Training pophet_additive models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 1"
[4] "Training prophet_multiplicative models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 1"
[5] "Training arima_with_monthly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 1"
[6] "Training regression_with_arima_errors models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 1"
[7] "Training tslm models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 1"
[8] "Training theta models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 1"
[1] "Using 12 sessions from as future::plan()"
> subtarget models_training_prophet_multiplicative_2966b24a
[1] "Training auto_arima models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 2"
[2] "Training arima_with_yearly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 2"
[3] "Training pophet_additive models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 2"
[4] "Training prophet_multiplicative models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 2"
[5] "Training arima_with_monthly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 2"
[6] "Training regression_with_arima_errors models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 2"
[7] "Training tslm models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 2"
[8] "Training theta models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 2"
[1] "Using 12 sessions from as future::plan()"
> subtarget models_training_prophet_multiplicative_4a31b2c1
[1] "Training auto_arima models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 3"
[2] "Training arima_with_yearly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 3"
[3] "Training pophet_additive models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 3"
[4] "Training prophet_multiplicative models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 3"
[5] "Training arima_with_monthly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 3"
[6] "Training regression_with_arima_errors models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 3"
[7] "Training tslm models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 3"
[8] "Training theta models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 3"
[1] "Using 12 sessions from as future::plan()"
> subtarget models_training_prophet_multiplicative_0e3676c9
[1] "Training auto_arima models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 1"
[2] "Training arima_with_yearly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 1"
[3] "Training pophet_additive models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 1"
[4] "Training prophet_multiplicative models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 1"
[5] "Training arima_with_monthly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 1"
[6] "Training regression_with_arima_errors models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 1"
[7] "Training tslm models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 1"
[8] "Training theta models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 1"
[1] "Using 12 sessions from as future::plan()"
> subtarget models_training_prophet_multiplicative_997d675e
[1] "Training auto_arima models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 2"
[2] "Training arima_with_yearly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 2"
[3] "Training pophet_additive models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 2"
[4] "Training prophet_multiplicative models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 2"
[5] "Training arima_with_monthly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 2"
[6] "Training regression_with_arima_errors models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 2"
[7] "Training tslm models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 2"
[8] "Training theta models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 2"
[1] "Using 12 sessions from as future::plan()"
> subtarget models_training_prophet_multiplicative_134802c2
[1] "Training auto_arima models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 3"
[2] "Training arima_with_yearly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 3"
[3] "Training pophet_additive models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 3"
[4] "Training prophet_multiplicative models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 3"
[5] "Training arima_with_monthly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 3"
[6] "Training regression_with_arima_errors models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 3"
[7] "Training tslm models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 3"
[8] "Training theta models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 3"
[1] "Using 12 sessions from as future::plan()"
> subtarget models_training_prophet_multiplicative_f10513d9
> subtarget models_training_prophet_multiplicative_3258576f
[1] "Training auto_arima models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 1"
[2] "Training arima_with_yearly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 1"
[3] "Training pophet_additive models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 1"
[4] "Training prophet_multiplicative models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 1"
[5] "Training arima_with_monthly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 1"
[6] "Training regression_with_arima_errors models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 1"
[7] "Training tslm models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 1"
[8] "Training theta models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 1"
[1] "Using 12 sessions from as future::plan()"
■ finalize testing_data
[1] "Training auto_arima models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 2"
[2] "Training arima_with_yearly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 2"
[3] "Training pophet_additive models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 2"
[4] "Training prophet_multiplicative models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 2"
[5] "Training arima_with_monthly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 2"
[6] "Training regression_with_arima_errors models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 2"
[7] "Training tslm models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 2"
[8] "Training theta models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 2"
[1] "Using 12 sessions from as future::plan()"
■ finalize models_training_pophet_additive
[1] "Training auto_arima models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 3"
[2] "Training arima_with_yearly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 3"
[3] "Training pophet_additive models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 3"
[4] "Training prophet_multiplicative models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 3"
[5] "Training arima_with_monthly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 3"
[6] "Training regression_with_arima_errors models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 3"
[7] "Training tslm models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 3"
[8] "Training theta models for forecasting horizon 52 and package XXXXXXX snsr_key 71 and db_src 3"
[1] "Using 12 sessions from as future::plan()"
■ finalize models_training_arima_with_monthly_fourier_components
[1] "Training auto_arima models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 1"
[2] "Training arima_with_yearly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 1"
[3] "Training pophet_additive models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 1"
[4] "Training prophet_multiplicative models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 1"
[5] "Training arima_with_monthly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 1"
[6] "Training regression_with_arima_errors models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 1"
[7] "Training tslm models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 1"
[8] "Training theta models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 1"
[1] "Using 12 sessions from as future::plan()"
■ finalize models_training_arima_with_yearly_fourier_components
[1] "Training auto_arima models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 2"
[2] "Training arima_with_yearly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 2"
[3] "Training pophet_additive models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 2"
[4] "Training prophet_multiplicative models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 2"
[5] "Training arima_with_monthly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 2"
[6] "Training regression_with_arima_errors models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 2"
[7] "Training tslm models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 2"
[8] "Training theta models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 2"
[1] "Using 12 sessions from as future::plan()"
■ finalize models_training_auto_arima
[1] "Training auto_arima models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 3"
[2] "Training arima_with_yearly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 3"
[3] "Training pophet_additive models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 3"
[4] "Training prophet_multiplicative models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 3"
[5] "Training arima_with_monthly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 3"
[6] "Training regression_with_arima_errors models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 3"
[7] "Training tslm models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 3"
[8] "Training theta models for forecasting horizon 52 and package XXXXXXX snsr_key 70 and db_src 3"
[1] "Using 12 sessions from as future::plan()"
■ finalize models_training_theta
[1] "Training auto_arima models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 1"
[2] "Training arima_with_yearly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 1"
[3] "Training pophet_additive models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 1"
[4] "Training prophet_multiplicative models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 1"
[5] "Training arima_with_monthly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 1"
[6] "Training regression_with_arima_errors models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 1"
[7] "Training tslm models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 1"
[8] "Training theta models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 1"
[1] "Using 12 sessions from as future::plan()"
■ finalize models_training_tslm
[1] "Training auto_arima models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 2"
[2] "Training arima_with_yearly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 2"
[3] "Training pophet_additive models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 2"
[4] "Training prophet_multiplicative models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 2"
[5] "Training arima_with_monthly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 2"
[6] "Training regression_with_arima_errors models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 2"
[7] "Training tslm models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 2"
[8] "Training theta models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 2"
[1] "Using 12 sessions from as future::plan()"
■ finalize models_training_regression_with_arima_errors
[1] "Training auto_arima models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 3"
[2] "Training arima_with_yearly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 3"
[3] "Training pophet_additive models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 3"
[4] "Training prophet_multiplicative models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 3"
[5] "Training arima_with_monthly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 3"
[6] "Training regression_with_arima_errors models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 3"
[7] "Training tslm models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 3"
[8] "Training theta models for forecasting horizon 52 and package XXXXXXX snsr_key 105 and db_src 3"
[1] "Using 12 sessions from as future::plan()"
▶ dynamic accuracy_models_training_pophet_additive
[1] "Training auto_arima models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 1"
[2] "Training arima_with_yearly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 1"
[3] "Training pophet_additive models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 1"
[4] "Training prophet_multiplicative models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 1"
[5] "Training arima_with_monthly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 1"
[6] "Training regression_with_arima_errors models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 1"
[7] "Training tslm models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 1"
[8] "Training theta models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 1"
[1] "Using 12 sessions from as future::plan()"
> subtarget accuracy_models_training_pophet_additive_3be0b39d
[1] "Training auto_arima models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 2"
[2] "Training arima_with_yearly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 2"
[3] "Training pophet_additive models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 2"
[4] "Training prophet_multiplicative models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 2"
[5] "Training arima_with_monthly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 2"
[6] "Training regression_with_arima_errors models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 2"
[7] "Training tslm models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 2"
[8] "Training theta models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 2"
[1] "Using 12 sessions from as future::plan()"
> subtarget accuracy_models_training_pophet_additive_d7f64bf5
[1] "Training auto_arima models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 3"
[2] "Training arima_with_yearly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 3"
[3] "Training pophet_additive models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 3"
[4] "Training prophet_multiplicative models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 3"
[5] "Training arima_with_monthly_fourier_components models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 3"
[6] "Training regression_with_arima_errors models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 3"
[7] "Training tslm models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 3"
[8] "Training theta models for forecasting horizon 52 and package XXXXXXX snsr_key 110 and db_src 3"
[1] "Using 12 sessions from as future::plan()"
> subtarget accuracy_models_training_pophet_additive_e15cdd72
> subtarget accuracy_models_training_pophet_additive_b2c3b9a9
> subtarget accuracy_models_training_pophet_additive_3a93d846
> subtarget accuracy_models_training_pophet_additive_6c575b0c
> subtarget accuracy_models_training_pophet_additive_4aaa518d
> subtarget accuracy_models_training_pophet_additive_27fbb875
> subtarget accuracy_models_training_pophet_additive_87b6ab76
> subtarget accuracy_models_training_pophet_additive_7bf5e2b8
> subtarget accuracy_models_training_pophet_additive_8eab10df
> subtarget accuracy_models_training_pophet_additive_c2fa857b
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 1 and snsr_key 71"
▶ dynamic accuracy_models_training_arima_with_monthly_fourier_components
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 2 and snsr_key 71"
> subtarget accuracy_models_training_arima_with_monthly_fourier_components_eee30f0d
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 3 and snsr_key 71"
> subtarget accuracy_models_training_arima_with_monthly_fourier_components_b145fedd
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 1 and snsr_key 70"
> subtarget accuracy_models_training_arima_with_monthly_fourier_components_7f1d8cc2
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 2 and snsr_key 70"
> subtarget accuracy_models_training_arima_with_monthly_fourier_components_19512cef
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 3 and snsr_key 70"
> subtarget accuracy_models_training_arima_with_monthly_fourier_components_dbd3a301
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 1 and snsr_key 105"
> subtarget accuracy_models_training_arima_with_monthly_fourier_components_a6337dab
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 2 and snsr_key 105"
> subtarget accuracy_models_training_arima_with_monthly_fourier_components_4aaa518d
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 3 and snsr_key 105"
> subtarget accuracy_models_training_arima_with_monthly_fourier_components_27fbb875
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 1 and snsr_key 110"
> subtarget accuracy_models_training_arima_with_monthly_fourier_components_87b6ab76
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 2 and snsr_key 110"
> subtarget accuracy_models_training_arima_with_monthly_fourier_components_7d25e48c
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 3 and snsr_key 110"
> subtarget accuracy_models_training_arima_with_monthly_fourier_components_116ff838
> subtarget accuracy_models_training_arima_with_monthly_fourier_components_c2fa857b
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 1 and snsr_key 71"
▶ dynamic accuracy_models_training_arima_with_yearly_fourier_components
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 2 and snsr_key 71"
> subtarget accuracy_models_training_arima_with_yearly_fourier_components_eee30f0d
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 3 and snsr_key 71"
> subtarget accuracy_models_training_arima_with_yearly_fourier_components_b145fedd
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 1 and snsr_key 70"
> subtarget accuracy_models_training_arima_with_yearly_fourier_components_7f1d8cc2
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 2 and snsr_key 70"
> subtarget accuracy_models_training_arima_with_yearly_fourier_components_19512cef
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 3 and snsr_key 70"
> subtarget accuracy_models_training_arima_with_yearly_fourier_components_dbd3a301
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 1 and snsr_key 105"
> subtarget accuracy_models_training_arima_with_yearly_fourier_components_a6337dab
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 2 and snsr_key 105"
> subtarget accuracy_models_training_arima_with_yearly_fourier_components_4aaa518d
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 3 and snsr_key 105"
> subtarget accuracy_models_training_arima_with_yearly_fourier_components_27fbb875
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 1 and snsr_key 110"
> subtarget accuracy_models_training_arima_with_yearly_fourier_components_87b6ab76
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 2 and snsr_key 110"
> subtarget accuracy_models_training_arima_with_yearly_fourier_components_7d25e48c
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 3 and snsr_key 110"
> subtarget accuracy_models_training_arima_with_yearly_fourier_components_116ff838
> subtarget accuracy_models_training_arima_with_yearly_fourier_components_c2fa857b
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 1 and snsr_key 71"
▶ dynamic accuracy_models_training_auto_arima
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 2 and snsr_key 71"
> subtarget accuracy_models_training_auto_arima_eee30f0d
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 3 and snsr_key 71"
> subtarget accuracy_models_training_auto_arima_b145fedd
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 1 and snsr_key 70"
> subtarget accuracy_models_training_auto_arima_7f1d8cc2
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 2 and snsr_key 70"
> subtarget accuracy_models_training_auto_arima_19512cef
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 3 and snsr_key 70"
> subtarget accuracy_models_training_auto_arima_dbd3a301
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 1 and snsr_key 105"
> subtarget accuracy_models_training_auto_arima_a6337dab
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 2 and snsr_key 105"
> subtarget accuracy_models_training_auto_arima_4aaa518d
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 3 and snsr_key 105"
> subtarget accuracy_models_training_auto_arima_27fbb875
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 1 and snsr_key 110"
> subtarget accuracy_models_training_auto_arima_87b6ab76
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 2 and snsr_key 110"
> subtarget accuracy_models_training_auto_arima_7d25e48c
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 3 and snsr_key 110"
> subtarget accuracy_models_training_auto_arima_116ff838
> subtarget accuracy_models_training_auto_arima_c2fa857b
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 1 and snsr_key 71"
▶ dynamic accuracy_models_training_theta
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 2 and snsr_key 71"
> subtarget accuracy_models_training_theta_eee30f0d
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 3 and snsr_key 71"
> subtarget accuracy_models_training_theta_b145fedd
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 1 and snsr_key 70"
> subtarget accuracy_models_training_theta_7f1d8cc2
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 2 and snsr_key 70"
> subtarget accuracy_models_training_theta_19512cef
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 3 and snsr_key 70"
> subtarget accuracy_models_training_theta_dbd3a301
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 1 and snsr_key 105"
> subtarget accuracy_models_training_theta_a6337dab
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 2 and snsr_key 105"
> subtarget accuracy_models_training_theta_4aaa518d
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 3 and snsr_key 105"
> subtarget accuracy_models_training_theta_27fbb875
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 1 and snsr_key 110"
> subtarget accuracy_models_training_theta_87b6ab76
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 2 and snsr_key 110"
> subtarget accuracy_models_training_theta_7d25e48c
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 3 and snsr_key 110"
> subtarget accuracy_models_training_theta_116ff838
> subtarget accuracy_models_training_theta_c2fa857b
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 1 and snsr_key 71"
▶ dynamic accuracy_models_training_tslm
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 2 and snsr_key 71"
> subtarget accuracy_models_training_tslm_eee30f0d
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 3 and snsr_key 71"
> subtarget accuracy_models_training_tslm_b145fedd
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 1 and snsr_key 70"
> subtarget accuracy_models_training_tslm_7f1d8cc2
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 2 and snsr_key 70"
> subtarget accuracy_models_training_tslm_19512cef
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 3 and snsr_key 70"
> subtarget accuracy_models_training_tslm_dbd3a301
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 1 and snsr_key 105"
> subtarget accuracy_models_training_tslm_a6337dab
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 2 and snsr_key 105"
> subtarget accuracy_models_training_tslm_4aaa518d
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 3 and snsr_key 105"
> subtarget accuracy_models_training_tslm_27fbb875
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 1 and snsr_key 110"
> subtarget accuracy_models_training_tslm_87b6ab76
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 2 and snsr_key 110"
> subtarget accuracy_models_training_tslm_7d25e48c
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 3 and snsr_key 110"
> subtarget accuracy_models_training_tslm_116ff838
> subtarget accuracy_models_training_tslm_c2fa857b
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 1 and snsr_key 71"
▶ dynamic accuracy_models_training_regression_with_arima_errors
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 2 and snsr_key 71"
> subtarget accuracy_models_training_regression_with_arima_errors_eee30f0d
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 3 and snsr_key 71"
> subtarget accuracy_models_training_regression_with_arima_errors_b145fedd
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 1 and snsr_key 70"
> subtarget accuracy_models_training_regression_with_arima_errors_7f1d8cc2
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 2 and snsr_key 70"
> subtarget accuracy_models_training_regression_with_arima_errors_19512cef
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 3 and snsr_key 70"
> subtarget accuracy_models_training_regression_with_arima_errors_dbd3a301
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 1 and snsr_key 105"
> subtarget accuracy_models_training_regression_with_arima_errors_a6337dab
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 2 and snsr_key 105"
> subtarget accuracy_models_training_regression_with_arima_errors_4aaa518d
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 3 and snsr_key 105"
> subtarget accuracy_models_training_regression_with_arima_errors_27fbb875
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 1 and snsr_key 110"
> subtarget accuracy_models_training_regression_with_arima_errors_87b6ab76
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 2 and snsr_key 110"
> subtarget accuracy_models_training_regression_with_arima_errors_7d25e48c
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 3 and snsr_key 110"
> subtarget accuracy_models_training_regression_with_arima_errors_116ff838
> subtarget accuracy_models_training_regression_with_arima_errors_c2fa857b
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 1 and snsr_key 71"
■ finalize models_training_prophet_multiplicative
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 2 and snsr_key 71"
■ finalize accuracy_models_training_pophet_additive
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 3 and snsr_key 71"
■ finalize accuracy_models_training_arima_with_monthly_fourier_components
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 1 and snsr_key 70"
■ finalize accuracy_models_training_arima_with_yearly_fourier_components
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 2 and snsr_key 70"
■ finalize accuracy_models_training_auto_arima
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 3 and snsr_key 70"
■ finalize accuracy_models_training_theta
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 1 and snsr_key 105"
■ finalize accuracy_models_training_tslm
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 2 and snsr_key 105"
▶ dynamic accuracy_models_training_prophet_multiplicative
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 3 and snsr_key 105"
> subtarget accuracy_models_training_prophet_multiplicative_eee30f0d
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 1 and snsr_key 110"
> subtarget accuracy_models_training_prophet_multiplicative_b145fedd
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 2 and snsr_key 110"
> subtarget accuracy_models_training_prophet_multiplicative_7f1d8cc2
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 3 and snsr_key 110"
> subtarget accuracy_models_training_prophet_multiplicative_19512cef
> subtarget accuracy_models_training_prophet_multiplicative_dbd3a301
> subtarget accuracy_models_training_prophet_multiplicative_a6337dab
> subtarget accuracy_models_training_prophet_multiplicative_4aaa518d
> subtarget accuracy_models_training_prophet_multiplicative_27fbb875
> subtarget accuracy_models_training_prophet_multiplicative_87b6ab76
> subtarget accuracy_models_training_prophet_multiplicative_7d25e48c
> subtarget accuracy_models_training_prophet_multiplicative_116ff838
> subtarget accuracy_models_training_prophet_multiplicative_c2fa857b
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 1 and snsr_key 71"
■ finalize accuracy_models_training_regression_with_arima_errors
**[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 2 and snsr_key 71"
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 3 and snsr_key 71"
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 1 and snsr_key 70"
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 2 and snsr_key 70"
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 3 and snsr_key 70"
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 1 and snsr_key 105"
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 2 and snsr_key 105"
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 3 and snsr_key 105"
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 1 and snsr_key 110"
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 2 and snsr_key 110"
[1] "Saving accuracy metrics for auto_arima model for package_b_number XXXXXXX and db_src 3 and snsr_key 110"**
■ finalize accuracy_models_training_prophet_multiplicative
It seems that is not saving the right metrics. My plan looks as follows: new_plan_dynamic_branch_test <- drake_plan(
unit_metadata = getMetadata(
environment = "PROD",
key_directory = config_parameters$LOCAL_CONFIG$DirectoryKeyCloud_RStudio,
operex_schema = config_parameters$SF_CONFIG$schema_name, db_src = c(1, 2, 3)
),
distinct_b_numbers = c('XXXXXXXXXXX'),
distinct_db_src = unit_metadata$db_src %>% unique() %>% as.numeric() %>% sort(),
distinct_snsr_keys = getCountersKeys(
environment = "PROD",
key_directory = config_parameters$LOCAL_CONFIG$DirectoryKeyCloud_RStudio,
operex_schema = config_parameters$SF_CONFIG$schema_name
),
getIndividualData = target(
getIndividualCounterData(
environment = "PROD",
key_directory = config_parameters$RSTUDIO_CLOUD_CONF$KeyDir,
operex_schema = config_parameters$SF_CONFIG$schema_name,
package_b_number = distinct_b_numbers,
counter = distinct_snsr_keys,
db_src = distinct_db_src,
max_forecasting_horizon = argument_parser$horizon
),
dynamic = cross( # Use `dynamic =` instead of `transform =`
distinct_b_numbers, # no tidy evaluation needed for dynamic branching
distinct_snsr_keys,
distinct_db_src
)
),
processingData = target(
featureEngineering(
raw_data = getIndividualData,
max_forecasting_horizon = argument_parser$horizon
),
dynamic = map(getIndividualData)
),
training_data = target(
timeSeriesSplitter(input_data = processingData,
max_forecast_horizon = argument_parser$horizon,
type = "train"
),
dynamic = map(processingData)
),
testing_data = target(
timeSeriesSplitter(input_data = processingData,
max_forecast_horizon = argument_parser$horizon,
type = "test"
),
dynamic = map(processingData)
),
models_training = target( ### split train/validation set
trainModels(
input_data = training_data,
max_forecast_horizon = argument_parser$horizon,
model_type = model_types,
max_multisession_cores = argument_parser$sessions
),
dynamic = map(training_data), # dynamic branching
transform = map(model_type = !!model_types)
),
accuracy = target(
accuracy_explorer(
mode = "test",
models = models_training,
max_forecast_horizon = argument_parser$horizon,
bucket = argument_parser$outputbucket,
bucket_folder = "/test_lifecounter2",
testing_data = testing_data
),
dynamic = map(models_training, testing_data),
transform = map(models_training)
)
) And the accuracy function: #' Testing accuracy metrics for different timeseries models
#' @author
#' @param mode A string to trigger different routines depending of the value ("train" or "test)
#' @param models A mable object containing multiple timeseries models
#' @param max_forecast_horizon An integer that is used to identify the granularity of the forecasts
#' @param bucket A string specifiying the bucket name to save the metrics
#' @param bucket_folder A string specifiying the folder within the bucket
#' @return A tibble object
accuracy_explorer <- function(mode, models, max_forecast_horizon, bucket, bucket_folder, testing_data=NULL) {
if(mode == "train") {
accuracy_metrics <- models %>% accuracy() %>%
select(c(package_b_number,
snsr_key,
db_src,
.model,
.type,
RMSE,
MAE,
MAPE,
MASE))
print(paste0("Saving accuracy metrics for ", attributes(models)$model, " model for",
" package_b_number ",
unique(accuracy_metrics$package_b_number),
" and db_src ", unique(accuracy_metrics$db_src),
" and snsr_key ", unique(accuracy_metrics$snsr_key)))
} else if(mode=="test"){
forecast_data <- forecast(models, testing_data)
accuracy_metrics <- accuracy(forecast_data, testing_data) %>%
select(c(package_b_number,
snsr_key,
db_src,
.model,
.type,
RMSE,
MAE,
MAPE,
MASE)) %>%
mutate(horizon = max_forecast_horizon)
print(paste0("Saving accuracy metrics for ", attributes(models)$model, " model for",
" package_b_number ",
unique(accuracy_metrics$package_b_number),
" and db_src ", unique(accuracy_metrics$db_src),
" and snsr_key ", unique(accuracy_metrics$snsr_key)))
}
s3write_using(accuracy_metrics,
write_csv,
object = paste0(bucket_folder,
"/",
unique(accuracy_metrics$package_b_number),
"/horizon_",
max_forecast_horizon,
"/snsr_",
unique(accuracy_metrics$snsr_key),
"/db_src_",
unique(accuracy_metrics$db_src),
"/",
unique(accuracy_metrics$.model),
"_accuracy_metrics.csv"),
bucket = bucket)
} It seems that is not getting properly the attributes from the mable. Any hints of how to make a debug test case for this? I am not certain if the problem is drake or the mable object itself. BR |
Seems that after enabling warnings again I am getting the following: warnings()
Warning messages:
1: In if (model_type == "prophet_additive") { ... :
the condition has length > 1 and only the first element will be used
2: In if (model_type == "prophet_additive") { ... :
the condition has length > 1 and only the first element will be used
3: In if (model_type == "prophet_additive") { ... :
the condition has length > 1 and only the first element will be used
4: In if (model_type == "auto_arima") { ... :
the condition has length > 1 and only the first element will be used
5: In if (model_type == "prophet_additive") { ... :
the condition has length > 1 and only the first element will be used
6: In if (model_type == "prophet_additive") { ... :
the condition has length > 1 and only the first element will be used
7: In if (model_type == "auto_arima") { ... :
the condition has length > 1 and only the first element will be used
8: In if (model_type == "prophet_additive") { ... :
the condition has length > 1 and only the first element will be used
9: In if (model_type == "auto_arima") { ... :
the condition has length > 1 and only the first element will be used
10: In if (model_type == "prophet_additive") { ... :
the condition has length > 1 and only the first element will be used
11: In if (model_type == "prophet_additive") { ... :
the condition has length > 1 and only the first element will be used
12: In if (model_type == "prophet_additive") { ... :
the condition has length > 1 and only the first element will be used
13: In if (model_type == "prophet_additive") { ... :
the condition has length > 1 and only the first element will be used
14: In if (model_type == "auto_arima") { ... :
the condition has length > 1 and only the first element will be used
15: In if (model_type == "prophet_additive") { ... :
the condition has length > 1 and only the first element will be used
16: In if (model_type == "prophet_additive") { ... :
the condition has length > 1 and only the first element will be used
17: In if (model_type == "prophet_additive") { ... :
the condition has length > 1 and only the first element will be used
18: In if (model_type == "prophet_additive") { ... :
the condition has length > 1 and only the first element will be used
19: In if (model_type == "auto_arima") { ... :
the condition has length > 1 and only the first element will be used
20: In if (model_type == "auto_arima") { ... :
the condition has length > 1 and only the first element will be used
21: In if (model_type == "prophet_additive") { ... :
the condition has length > 1 and only the first element will be used
22: In if (model_type == "prophet_additive") { ... :
the condition has length > 1 and only the first element will be used
23: In if (model_type == "prophet_additive") { ... :
the condition has length > 1 and only the first element will be used
24: In if (model_type == "auto_arima") { ... :
the condition has length > 1 and only the first element will be used
25: In if (model_type == "auto_arima") { ... :
the condition has length > 1 and only the first element will be used
26: In if (model_type == "prophet_additive") { ... :
the condition has length > 1 and only the first element will be used
27: In if (model_type == "auto_arima") { ... :
the condition has length > 1 and only the first element will be used
28: In if (model_type == "prophet_additive") { ... :
the condition has length > 1 and only the first element will be used
29: In if (model_type == "prophet_additive") { ... :
the condition has length > 1 and only the first element will be used
30: In if (model_type == "prophet_additive") { ... :
the condition has length > 1 and only the first element will be used
31: In if (model_type == "auto_arima") { ... :
the condition has length > 1 and only the first element will be used
32: In if (model_type == "prophet_additive") { ... :
the condition has length > 1 and only the first element will be used
33: In if (model_type == "prophet_additive") { ... :
the condition has length > 1 and only the first element will be used
34: In if (model_type == "auto_arima") { ... :
the condition has length > 1 and only the first element will be used
35: In if (model_type == "prophet_additive") { ... :
the condition has length > 1 and only the first element will be used
36: In if (model_type == "prophet_additive") { ... :
the condition has length > 1 and only the first element will be used
37: In if (model_type == "prophet_additive") { ... :
the condition has length > 1 and only the first element will be used
38: In if (model_type == "prophet_additive") { ... :
the condition has length > 1 and only the first element will be used
39: In if (model_type == "prophet_additive") { ... :
the condition has length > 1 and only the first element will be used
40: In if (model_type == "auto_arima") { ... :
the condition has length > 1 and only the first element will be used
41: In if (model_type == "auto_arima") { ... :
the condition has length > 1 and only the first element will be used
42: In if (model_type == "prophet_additive") { ... :
the condition has length > 1 and only the first element will be used
43: In if (model_type == "prophet_additive") { ... :
the condition has length > 1 and only the first element will be used
44: In if (model_type == "prophet_additive") { ... :
the condition has length > 1 and only the first element will be used
45: In if (model_type == "auto_arima") { ... :
the condition has length > 1 and only the first element will be used
46: In if (model_type == "auto_arima") { ... :
the condition has length > 1 and only the first element will be used
47: In if (model_type == "prophet_additive") { ... :
the condition has length > 1 and only the first element will be used
48: In if (model_type == "prophet_additive") { ... :
the condition has length > 1 and only the first element will be used
49: In if (model_type == "prophet_additive") { ... :
the condition has length > 1 and only the first element will be used
50: In if (model_type == "auto_arima") { ... :
the condition has length > 1 and only the first element will be used
> vis_drake_graph(new_plan_dynamic_branch_test)
> Which make me wonder if the workflow is parsing properly the model types: option_list = list(
make_option(c("-d", "--directory"), type="character",
default=getwd(),
help="Directory of the main workflow file", metavar="character"),
make_option(c("-b", "--outputbucket"), type="character",
default="testbucket13245678",
help="Bucket to save the forecasts", metavar="character"),
make_option(c("-c", "--configdir"), type="character",
default=paste0(getwd(), "/config/Parms.ini", sep = ""),
help="Config file directory", metavar="character"),
make_option(c("-k", "--keysdirectory"), type="character",
default=paste0(getwd(), "/credentials", sep = ""),
help="Snowflake credentials directory", metavar="character"),
make_option(c("-h", "--horizon"), type="integer",
default=52,
help="Forecasting horizon", metavar="number"),
make_option(c("-s", "--sessions"), type="integer",
default=12,
help="Maximum paralell multisessions", metavar="number"),
make_option(c("-m", "--model_types"), type="character",
default=c("auto_arima",
"arima_with_yearly_fourier_components",
"pophet_additive",
"prophet_multiplicative",
"arima_with_monthly_fourier_components",
"regression_with_arima_errors",
"tslm",
"theta"),
help="Model types separated by commas", metavar="number")
);
|
To debug, I suggest running locally with a |
Dear @wlandau Thanks for your suggestion, I have fix the workflow, it was a typo error in parsing the !!model_types in the training function: new_plan_dynamic_branch_test <- drake_plan(
unit_metadata = getMetadata(
environment = "PROD",
key_directory = config_parameters$LOCAL_CONFIG$DirectoryKeyCloud_RStudio,
operex_schema = config_parameters$SF_CONFIG$schema_name, db_src = c(1, 2, 3)
),
distinct_b_numbers = c('xxxxxxxxxxxxx'),
distinct_db_src = unit_metadata$db_src %>% unique() %>% as.numeric() %>% sort(),
distinct_snsr_keys = getCountersKeys(
environment = "PROD",
key_directory = config_parameters$LOCAL_CONFIG$DirectoryKeyCloud_RStudio,
operex_schema = config_parameters$SF_CONFIG$schema_name
),
getIndividualData = target(
getIndividualCounterData(
environment = "PROD",
key_directory = config_parameters$RSTUDIO_CLOUD_CONF$KeyDir,
operex_schema = config_parameters$SF_CONFIG$schema_name,
package_b_number = distinct_b_numbers,
counter = distinct_snsr_keys,
db_src = distinct_db_src,
max_forecasting_horizon = argument_parser$horizon
),
dynamic = cross( # Use `dynamic =` instead of `transform =`
distinct_b_numbers, # no tidy evaluation needed for dynamic branching
distinct_snsr_keys,
distinct_db_src
)
),
processingData = target(
featureEngineering(
raw_data = getIndividualData,
max_forecasting_horizon = argument_parser$horizon
),
dynamic = map(getIndividualData)
),
training_data = target(
timeSeriesSplitter(input_data = processingData,
max_forecast_horizon = argument_parser$horizon,
type = "train"
),
dynamic = map(processingData)
),
testing_data = target(
timeSeriesSplitter(input_data = processingData,
max_forecast_horizon = argument_parser$horizon,
type = "test"
),
dynamic = map(processingData)
),
models_training = target( ### split train/validation set
trainModels(
input_data = training_data,
max_forecast_horizon = argument_parser$horizon,
model_type = model_type,
max_multisession_cores = argument_parser$sessions
),
dynamic = map(training_data), # dynamic branching
transform = map(model_type = !!model_types)
),
accuracy = target(
accuracy_explorer(
mode = "test",
models = models_training,
max_forecast_horizon = argument_parser$horizon,
bucket = argument_parser$outputbucket,
bucket_folder = "/test_lifecounter2",
testing_data = testing_data
),
dynamic = map(models_training, testing_data),
transform = map(models_training)
),
saveModels = target(
saveModelsS3(
model = models_training,
bucket = argument_parser$outputbucket,
bucket_folder = "/test_lifecounter2",
max_forecasting_horizon = argument_parser$horizon
),
dynamic = map(models_training),
transform = map(model_type)
)
)
However, now I am getting an error as sometimes I can not estimate the model and then the saving functions and accuracy functions can not be computed: >subtarget saveModels_regression_with_arima_errors_c635a0a6
[1] "Saving the all-mighty mable"
x fail saveModels_regression_with_arima_errors_259e6ae8
Error: target saveModels_regression_with_arima_errors_259e6ae8 failed.
diagnose(saveModels_regression_with_arima_errors_259e6ae8)error$message:
object 'models' not found
diagnose(saveModels_regression_with_arima_errors_259e6ae8)error$calls:
1. └─global::saveModelsS3(...)
2. ├─base::print(...)
3. ├─base::paste0(...)
4. └─base::unique(models$snsr_key)
In addition: Warning messages:
1: In sqrt(diag(best$var.coef)) : NaNs produced
2: In sqrt(diag(best$var.coef)) : NaNs produced
3: In sqrt(diag(best$var.coef)) : NaNs produced
4: In sqrt(diag(best$var.coef)) : NaNs produced
> Should I execute a trycatch within the training function, return NULL otherwise and then do not calculate accuracy metrics/save function or there is anyway than drake can handle this by default? |
As before, I think this requires more debugging in |
Closing because the issue is old and no longer specifically |
Hi @wlandau Seems that now the workflow was working: But I get this error in drake: [1] "Filtering lifecounter for unit xxxxxxxx db_src 1 and counter 105"
[1] "Filtering lifecounter for unit xxxxxxxx db_src 1 and counter 70"
[32m■[39m finalize getIndividualData
[32m▶[39m dynamic processingData
[32m>[39m subtarget processingData_98530972
*** caught segfault ***
address 0x100000011, cause 'memory not mapped' Never seen this before, neither in drake neither running R code. I have google it and it seems related with RCpp but honestly I have no clue. BR |
I'm not sure what could be causing the error. Can you reproduce it with a small/fast example outside |
Prework
Original workflow: #1293
Modified workflow to correct the DAG: #1294
First attemp to rewrite the plan using dynamic targets: #1311
Linking dynamic targets: #1314
Description
Dear colleagues, keeping working in my final drake workflow to fix my issues with the fable package.
I have now manage to use the dynamic targets to get my data for different set of ids and sensors. Besides the training works quite nicely (even that I am having some issues with the paralelization of the code, but probably I will not open anything until I dont do more ground work my self).
The workflow that is currently up and running is the following:
And is nicely combining cross and map in a way that I can see the training times for different algorithms.
However now I am trying to apply and accuracy function to evaluate the forecasts in the testing data and then, select the best model, refit it to the whole historical data and then forecast the future.
Reproducible example
My test plan looks as follows:
Desired result
Is there a way to dynamically map accuracy to both the individual steps of models_training and testing data?
Session info
The text was updated successfully, but these errors were encountered: