You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use NeuralProphet to predict the airline's passengers, the train data have complete data from 2023 to 2024. But when I predict data for 2025, there are missing dates, eg: miss 2025-03-01, however, 2024-03-01 and 2023-03-01 exist. the freq is set to 'D'. The main code is as follows:
I use NeuralProphet to predict the airline's passengers, the train data have complete data from 2023 to 2024. But when I predict data for 2025, there are missing dates, eg: miss 2025-03-01, however, 2024-03-01 and 2023-03-01 exist. the freq is set to 'D'. The main code is as follows:
df_train = df[df['ds'] < '2025-01-01']
m = Neuralprophet()
m.add_future_regressor('layout', mode='multiplicative', regularization=0.02)
m.fit(df_train, freq='D', early_stop=True)
future_df = m.make_future_dataframe(df_train, periods=365, regressors_df=regressor_df)
m.predict(future_df )
The text was updated successfully, but these errors were encountered: