-
Notifications
You must be signed in to change notification settings - Fork 292
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
[BUG] resample_time_stamps fails when time_stamps is int and max_forecast_steps is None #28
Comments
Thanks for exposing this issue. There is a logic error in how |
aadyotb
added a commit
that referenced
this issue
Oct 11, 2021
Fix the handling of integer # of timestamps in resample_time_stamps.
This was referenced Oct 11, 2021
paulkass
pushed a commit
that referenced
this issue
Oct 18, 2021
…rities. (#30) * Address Issue #28. Fix the handling of integer # of timestamps in resample_time_stamps. * Address Issue #27. Make SARIMA resample to default seasonality, instead of hourly. * Admit more general granularities (Issue #29). * Stop git checkout from failing w/ local changes. * Update forecaster base docs. * More sensible helper fn name. * Remove commits from build_docs.sh. * Convert timedelta & last_train_time to pandas. * Update version. * Remove unused method. * Make AutoProphet robust to monthly granularity. * Remove commented out line. * Handle more freqs in TimeSeries constructor. Addresses Issue #34.
Closing this issue as it has been addressed by PR #30. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Calling
resample_time_stamps
fails when requesting an integer number oftime_stamps
andmax_forecast_steps
has not been set (code tries to subsettime_stamps
then which won't work for integers).This can be solved by setting the variable
tf
later which is only needed when a list oftime_stamps
has been passed.To Reproduce
This will fail...
This works...
Expected behavior
Passing
time_stamps
as int should work whenmax_forecast_steps
has not been set.Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: