skforecast icon indicating copy to clipboard operation
skforecast copied to clipboard

add method to forecasters to return the input data that is passed to the model to make predictions

Open solegalli opened this issue 1 year ago • 2 comments

Currently, there is no way to see which data is being used to make predictions.

create_X_y creates the data that is used to train the model, but it;s not able to create data that is passed to "predict()`.

The data for the prediction is created in predict() but it is not exposed.

Could we capture the lines that create the input data to the regressor.predict() in a new method, say create_forecast_input() to expose that value to the user?

It'd help with debugging and understanding what the forecaster does under the hood

solegalli avatar Feb 23 '24 16:02 solegalli

I agree. I like the idea that users can explore as much as possible all the work that skforecast does internally. I have added it to the backlog for the next release.

JoaquinAmatRodrigo avatar Mar 05 '24 10:03 JoaquinAmatRodrigo

Hello @solegalli,

The create_predict_X method will be available in skforecast 0.13.0. 😄

JavierEscobarOrtiz avatar Jun 19 '24 09:06 JavierEscobarOrtiz