我正在尝试根据样本预测制作 ARIMA。以下是我的代码的一部分
n_periods = 8
(confint, fc) = con_fc
con_fc = arima_model_results.predict(n_periods=n_periods, return_conf_int=True)
index_of_fc = np.arange(len(df2_val), len(df2_val)+n_periods)
我收到错误消息:
1 n_periods = 8
----> 2 (confint, fc) = con_fc
3 con_fc = arima_model_results.predict(n_periods=n_periods, return_conf_int=True)
4
5 index_of_fc = np.arange(len(df2_val), len(df2_val)+n_periods)
ValueError: too many values to unpack (expected 2)
尝试了不同的网站但没有找到答案