susanli2016 / Machine-Learning-with-Python

Python code for common Machine Learning Algorithms
4.31k stars 4.82k forks source link

在运行这段代码print(result.summary())时报错。 #4

Open zeyee opened 6 years ago

zeyee commented 6 years ago

AttributeError: module 'scipy.stats' has no attribute 'chisqprob'

请问有什么解决或替代方法吗?

yueg commented 6 years ago

改为print(result.summary2())就可以了。