Get access to the input features and predictions in each forecasting horizon
before_predict_callback
argument of
MLForecast.predict
.
unique_id | lag1 | lag2 | |
---|---|---|---|
0 | id_0 | 4.15593 | 3.000028 |
unique_id | lag1 | lag2 | |
---|---|---|---|
0 | id_0 | 5.250205 | 4.15593 |
unique_id | ds | LGBMRegressor | |
---|---|---|---|
0 | id_0 | 2000-08-10 | 5.250205 |
1 | id_0 | 2000-08-11 | 6.241739 |
SaveFeatures
callback.
unique_id | lag1 | |
---|---|---|
0 | id_0 | 4.155930 |
1 | id_0 | 5.281643 |
after_predict_callback
argument of
MLForecast.predict
.