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

holt winters python 3-8 algorithm code fails due to outdated dependencies of statsmodel 0.12.1 #64

Closed
igorshevach opened this issue Apr 12, 2022 · 2 comments

Comments

@igorshevach
Copy link

Describe the bug
running holt winters model errors out with:
Cannot import name '_centered' from 'scipy.signal.signaltools'

To Reproduce
Steps to reproduce the behavior:

  1. Deploy latest version of phpa
  2. Run holt-winters example
  3. See error as described above

Expected behavior
holt winters should run to completion without errors

Kubernetes Details (kubectl version):
Client Version: version.Info{Major:"1", Minor:"22", GitVersion:"v1.22.5", GitCommit:"5c99e2ac2ff9a3c549d9ca665e7bc05a3e18f07e", GitTreeState:"clean", BuildDate:"2021-12-16T08:38:33Z", GoVersion:"go1.16.12", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"22", GitVersion:"v1.22.5", GitCommit:"5c99e2ac2ff9a3c549d9ca665e7bc05a3e18f07e", GitTreeState:"clean", BuildDate:"2021-12-16T08:32:32Z", GoVersion:"go1.16.12", Compiler:"gc", Platform:"linux/amd64"}
predictive-horizontal-pod-autoscaler commit a8f581d

Additional context
modifying docker image to use cpa python 3-7 instead 3-8 solves the issue, however this is just a workaround.
upgrading to latest statsmodels/scipy or both should solve the issue

@jthomperoo
Copy link
Owner

Resolved by #67

@jthomperoo
Copy link
Owner

This is now available in v0.10.0.

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

2 participants