原代码:model = ARIMA(history, order=order)
修改后:model = ARIMA(history, order=order,enforce_stationarity=False)
enforce_stationarity=False 确实有助于解决错误,但它可能会降低训练模型的精度。
更多解决办法可以参考这里https://github.com/statsmodels/statsmodels/issues/5459
报错:LinAlgError: LU decomposition error
于 2024-05-02 16:55:50 首次发布