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

negative dimensions are not allowed #327

Closed
srayagarwal opened this issue Apr 26, 2020 · 3 comments
Closed

negative dimensions are not allowed #327

srayagarwal opened this issue Apr 26, 2020 · 3 comments

Comments

@srayagarwal
Copy link

Describe the bug
When using auto_arima
getting the bug
ValueError: negative dimensions are not allowed

model=pm.auto_arima(value, exogenous=Texogenous, 
                    seasonal=True, m=4, supress_warnings=True, stepwise=True, approximation = True, error_action='ignore').fit(value, exogenous=Texogenous)

Versions

Darwin-18.7.0-x86_64-i386-64bit
Python 3.7.3 (default, Mar 27 2019, 16:54:48)
[Clang 4.0.1 (tags/RELEASE_401/final)]
pmdarima 1.3.0
NumPy 1.16.2
SciPy 1.2.1
Scikit-Learn 0.21.1
Statsmodels 0.11.0

@tgsmith61591
Copy link
Member

Looks like you're running a pretty old version of the package. This is a duplicate of #191 and was fixed in 1.4.0. If you upgrade, it should be fixed.

@srayagarwal
Copy link
Author

srayagarwal commented Apr 26, 2020 via email

@aaronreidsmith
Copy link
Member

aaronreidsmith commented Apr 26, 2020

What command did you use to install it? And when you attempted to upgrade, did you use the correct command?

pip install --upgrade pmdarima

If the above doesn’t work, you can always specify the latest version.

pip install "pmdarima==1.5.3"

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

No branches or pull requests

3 participants