zl程序教程

您现在的位置是:首页 >  其它

当前栏目

成功解决Not Implemented Error: statsmodels.tsa.arima_model. ARMA and statsmodels.tsa.arima_model. ARIMA

解决 Error not and 成功 model ARIMA implemented
2023-09-14 09:04:49 时间

成功解决Not Implemented Error: statsmodels.tsa.arima_model. ARMA and statsmodels.tsa.arima_model. ARIMA have been removed in favor of statsmodels.tsa.arima.model.ARIMA (note the . between arima and model) and statsmodels.tsa.SARIMAX. statsmodels.tsa.arima.model.ARIMA makes use of the statespace framework and is both well tested and maintained. It also offers alternative specialized parameter estimators.

目录

解决问题

解决思路

解决方法


解决问题

Not Implemented Error: statsmodels.tsa.arima_model. ARMA and statsmodels.tsa.arima_model. ARIMA have been removed in favor of statsmodels.tsa.arima.model.ARIMA (note the . between arima and model) and statsmodels.tsa.SARIMAX. statsmodels.tsa.arima.model.ARIMA makes use of the statespace framework and is both well tested and maintained. It also offers alternative specialized parameter estimators.

解决思路

未实施错误:statsmodels.tsa.arima_model. ARMA 和 statsmodels.tsa.arima_model. ARIMA 已被移除,取而代之的是 statsmodels.tsa.arima.model.ARIMA(注意 arima 和模型之间的 .)和 statsmodels.tsa.SARIMAX. statsmodels.tsa.arima.model.ARIMA 使用状态空间框架,并且经过良好测试和维护. 它还提供替代的专用参数估计器.

解决方法

from statsmodels.tsa.arima_model import ARIMA

改为

from statsmodels.tsa.arima.model import ARIMA