Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prediction results miss some date #1673

Open
Aaron1993 opened this issue Jan 17, 2025 · 0 comments
Open

prediction results miss some date #1673

Aaron1993 opened this issue Jan 17, 2025 · 0 comments

Comments

@Aaron1993
Copy link

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 )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant