WillKoehrsen / Data-Analysis

Data Science Using Python

Home Page:https://medium.com/@williamkoehrsen/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

yungteng opened this issue · comments

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

I found this to solve the float issue in numpy 1.24.0

image