gpt4 book ai didi

python - statsmodel 属性错误 : module 'scipy.stats' has no attribute 'chisqprob'

转载 作者:太空狗 更新时间:2023-10-29 20:40:16 25 4
gpt4 key购买 nike

我正在使用我认为是最新的 statsmodel 0.8.0 运行下面的代码。

import statsmodels.api as sm
est = sm.Logit(y_train, x_train)
result = est.fit()
print(result.summary())

这给我一个错误提示:

AttributeError:模块“scipy.stats”没有属性“chisqprob”。

我似乎无法在 stackoverflow 或其他地方找到任何解决此问题的方法。非常感谢任何帮助。

最佳答案

关于python - statsmodel 属性错误 : module 'scipy.stats' has no attribute 'chisqprob' ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49814258/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com