-
-
Notifications
You must be signed in to change notification settings - Fork 232
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
tsdisplay errs with input arrays y of length less than 51. #440
Labels
Comments
Hey great find and thanks so much for filing such a nicely documented issue. This is indeed a bug on our end, and it has to do with the |
10 tasks
tgsmith61591
added a commit
that referenced
this issue
Jul 21, 2021
* Circle CI changes: - Refactor Circle CI to build wheels during each unit test stage. This is in direct response to several issues we've had during the last several deployments, which were not discovered until the release was cut. Each unit test stage builds a wheel, runs the tests, and then persists the wheel to the workspace for the deployment stage. After merging, we will need to cut a new test release to ensure we are properly restoring the workspace. - Consolidate smaller, miscellaneous tests into a single stage to reduce the concurrency contention imposed by Circle CI's rate limits * Address issue #440 * Speed up some tests & examples * Add to documentation
tgsmith61591
added a commit
that referenced
this issue
Jul 22, 2021
Rework Circle CI + several minor fixes * Circle CI changes: - Refactor Circle CI to build wheels during each unit test stage. This is in direct response to several issues we've had during the last several deployments, which were not discovered until the release was cut. Each unit test stage builds a wheel, runs the tests, and then persists the wheel to the workspace for the deployment stage. After merging, we will need to cut a new test release to ensure we are properly restoring the workspace. - Consolidate smaller, miscellaneous tests into a single stage to reduce the concurrency contention imposed by Circle CI's rate limits * Address issue #440 * Speed up some tests & examples * Add to documentation
12 tasks
This is fixed in 1.8.3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Function
tsdisplay
, via itslag_max
default value of50
, assumes that arrayy
has at least 51 observations. A total of (at least) 51 observations is required to produce 50 lags.Not directly specifying
lag_max
, wheny
is not of sufficient length, leads to a (perhaps) cryptic error.To Reproduce
Versions
Not using the most recent version of
pmdarima
, but GitHub suggests most ofpmdarima.utils
has not undergone revisions recently.Expected behavior
In the case that
y
is of length 50 or less,tsdisplay
would ideally adapt to feedlen(y) - 1
, or an appropriate equivalent, into the internal call toplot_acf
. For what it's worth, it looks liketsaplots
usesnp.arange
to help in this area inplot_acf
.Actual behavior
Calling
tsdisplay
vialeads to
Additional context
n/a
The text was updated successfully, but these errors were encountered: