I need some help in understanding how performance_metrics works. I went through the help, quick start, and the code, but I think I'm missing something.
Here's the problem I am facing. When I do a cross validation of my forecast (several weeks of data with 1 hour granularity) with a 72 hours of horizon, I get a dataframe with size, 1564 rows × 6 columns.
Now if I understand correctly, for performance_metrics, rolling_window parameter decides how much of the simulated forecast should be included in a window. Now, when I use rolling_window = 0, I expect the performance_metric to return an output dataframe with exact size of the input dataframe (i.e. 1564 rows × 6 columns). But in reality, I am getting a dataframe of size 11 X 6. When I change the rolling_window to 0.1 or 0.2, the output dataframe size remains the same (11 X 6) . However, when I change rolling_window to 1, the output frame is only 1 row (which I think is correct).
Clearly, I am missing something and I would appreciate your help in understanding this. Also, how does the horizon column in performance_metric is calculated? When I use rolling_window = 1, it shows a horizon of 72 hours. I am not sure how it is calculated based on the cross validation output frame.
Please let me know, if you need any additional information or clarification. Thank you.
I need some help in understanding how performance_metrics works. I went through the help, quick start, and the code, but I think I'm missing something.
Here's the problem I am facing. When I do a cross validation of my forecast (several weeks of data with 1 hour granularity) with a 72 hours of horizon, I get a dataframe with size,
1564 rows × 6 columns.Now if I understand correctly, for performance_metrics,
rolling_windowparameter decides how much of the simulated forecast should be included in a window. Now, when I userolling_window = 0, I expect the performance_metric to return an output dataframe with exact size of the input dataframe (i.e.1564 rows × 6 columns). But in reality, I am getting a dataframe of size11 X 6. When I change therolling_window to 0.1 or 0.2, the output dataframe size remains the same(11 X 6). However, when I changerolling_window to 1, the output frame is only 1 row (which I think is correct).Clearly, I am missing something and I would appreciate your help in understanding this. Also, how does the horizon column in performance_metric is calculated? When I use
rolling_window = 1, it shows a horizon of 72 hours. I am not sure how it is calculated based on the cross validation output frame.Please let me know, if you need any additional information or clarification. Thank you.