我在Python呼叫statsmodels中的ARIMA().fit()時系統會出現如下告警資訊。有誰知道為什么會有這些資訊?這些資訊是否代表建立的模型有問題?以下如何去除這些告警?謝謝了!
ValueWarning: An unsupported index was provided and will be ignored when e.g. forecasting.
' ignored when e.g. forecasting.', ValueWarning)
HessianInversionWarning: Inverting hessian failed, no bse or cov_params available
'available', HessianInversionWarning)
FutureWarning: Using a non-tuple sequence for multidimensional indexing is deprecated; use `arr[tuple(seq)]` instead of `arr[seq]`. In the future this will be interpreted as an array index, `arr[np.array(seq)]`, which will result either in an error or a different result.
out_full[ind] += zi
uj5u.com熱心網友回復:
這些資訊是否代表建立的模型沒有問題,只是警告資訊。因為現在你傳遞的引數應該是[10930,10318,10595]這樣的陣列形式,在未來的版本里,這會被解釋為一個陣列索引[np.array(seq)],以后可能會報錯,所以給警告資訊。避免錯誤很簡單,[()] 里面改成元組序列就不會出現警告資訊了。
uj5u.com熱心網友回復:
謝謝,這個可以解釋第一條和第三天告警資訊。那第二條呢?HessianInversionWarning: Inverting hessian failed, no bse or cov_params available'available', HessianInversionWarning)
uj5u.com熱心網友回復:
自己頂一下,有哪位大俠知道?
uj5u.com熱心網友回復:
樓主解決了嗎,我也遇到這個問題
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/55712.html
上一篇:【STM32】HAL庫開發教程(四)—串口FIFO使用
下一篇:微信小程式 藍牙重連例外 errCode:10004,errMsg:notifyBLECharacteristicValueChange:fail setNot
