Nixtla / neuralforecast

Scalable and user friendly neural :brain: forecasting algorithms.
https://nixtlaverse.nixtla.io/neuralforecast
Apache License 2.0
2.7k stars 312 forks source link

How to forecast values for future dates? #983

Closed SujayC66 closed 2 months ago

SujayC66 commented 2 months ago

Description

Currently .predict gives only prediction on test data. How can we forecast values for future dates?

Link

No response

elephaint commented 2 months ago

Do you have a piece of (standalone) code so that I can understand what you are trying to achieve?

You don't need to supply a test data set. You can just call predict to forecast future values, as is explained in the Quick Start guide

SujayC66 commented 2 months ago

Thanks. I was confused since the code in tutorial shown in repo was giving predictions. fcst = NeuralForecast(models=[model], freq='M') fcst.fit(df=Y_train_df, static_df=AirPassengersStatic, val_size=12) forecasts = fcst.predict(futr_df=Y_test_df) Thank you so much.