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

why occur AttributeError: 'StanModel' object has no attribute 'fit_class'? #75

Open
yungteng opened this issue Dec 20, 2022 · 1 comment

Comments

@yungteng
Copy link

yungteng commented Dec 20, 2022

Hi Sir,
it has occur AttributeError: module 'numpy' has no attribute 'float' after doing
model, model_data = amazon.create_prophet_model(days=90) ? thank you very much
package version:
conda 22.9.0
Python 3.9.7
Quandl 3.7.0
matplotlib 3.6.2
numpy 1.24.0
fbprophet 0.7.1
pystan 2.19.1.1
pandas 1.5.2
pytrends 4.8.0

image
image

@yungteng yungteng changed the title why occur AttributeError: module 'numpy' has no attribute 'float' ? why occur AttributeError: module 'numpy' has no attribute 'float' ? and 'Series' object has no attribute 'upper'? Dec 20, 2022
@yungteng yungteng changed the title why occur AttributeError: module 'numpy' has no attribute 'float' ? and 'Series' object has no attribute 'upper'? why occur AttributeError: 'StanModel' object has no attribute 'fit_class'? Dec 23, 2022
@yungteng
Copy link
Author

I found this to solve the float issue in numpy 1.24.0

image

@yungteng yungteng closed this as completed Jan 2, 2023
@yungteng yungteng reopened this Jan 2, 2023
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