I have learnt to create the LightGBM models with multiple features and target, but in ALL the examples I have seen thus far they only show how to do a "predict" on the x_test_df. What I am looking for is a way to use my current data that I have up until the last day, and then make a forecast n-steps into the future, like is done with ARIMA etc. Everything from what I can get is that it will only predict the dates that is in the df that is entered in the "predict".

Do I need to create an empty df with dates into the future, but then what about the inputs?

What am I missing, or am I just blind in missing this in the documentation?

  • $\begingroup$ If you want to use your current data to make predictions for future dates, you will need to create a new dataframe containing the features for the future dates that you want to predict. $\endgroup$
    – Vic
    Dec 20, 2022 at 5:47


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.