we have the daily predictions for the data as shown below:
df_test_daily['prediction'].head()
Datetime
2014-09-26 343.434258
2014-09-27 346.512980
2014-09-28 349.591701
2014-09-29 352.670422
2014-09-30 355.749144
We also have the mean hourly ratio (0-23 hours).
hourly_frac.head()
Hour ratio
0 0 0.044287
1 1 0.035343
2 2 0.029911
3 3 0.024714
4 4 0.020802
How can we use mean hourly ratio to the daily data to get hourly predictions.
say for 2014-09-26, the prediction is 343. Now the mean hourly ratio must be multiplied to 343 to generate 24 hourly data or predictions.
Expected output :
df_test_hourly['prediction']
Datetime
2014-09-26 00:00:00 X1
2014-09-26 01:00:00 X2
2014-09-26 02:00:00 X3
2014-09-26 03:00:00 X4
2014-09-26 04:00:00 X5
...
2014-09-26 23:00:00 X23