Display resampling accuracy metrics by ID. It is possible to see the results of the resampling folds by ID, that is, for each predicted time series using the function modeltime_resample_accuracy #15
There is the possibility of viewing the metrics in the resampling forecast by ID, I saw that summary_fns = NULL #1 #3 provides the results by resampling fold, but they are global results. I think it would be very valuable to be able to access the local metrics for each ID and the results per fold resampling. I saw that #4 already requested something similar. If this is already possible and you can help me visualize these results, I would appreciate it. Follow the scripts:
Dear, @mdancho84 @AlbertoAlmuinha
There is the possibility of viewing the metrics in the resampling forecast by ID, I saw that summary_fns = NULL #1 #3 provides the results by resampling fold, but they are global results. I think it would be very valuable to be able to access the local metrics for each ID and the results per fold resampling. I saw that #4 already requested something similar. If this is already possible and you can help me visualize these results, I would appreciate it. Follow the scripts:
Link to download the database used: https://github.com/forecastingEDs/Forecasting-of-admissions-in-the-emergency-departments/blob/131bd23723a39724ad4f88ad6b8e5a58f42a7960/datasets.xlsx
data_tbl
Full = Training + Forecast Datasets
Apply Group-wise Time Series Manipulations
Consolidate IDs
mutate(id = fct_drop(id))
Training Data
Forecast Data
emergency_tscv
test data preprocessing for ML ----
Model 1: Xgboost ----
Model 2: LightGBM ----
---- MODELTIME TABLE ----
resample_results
This step I need the results by ID but I only get the global results by fold resampling. Can you help me?