如何解决为什么先知预测尤其是年度季节性不像情节成分中的年度季节性?
这是绘图组件[] [1]
的图像这是预测值的图像[] [2]
橙色线显示年度图表[] [3]
与图像的链接为:[1]:https://i.stack.imgur.com/ATy2i.png [2]:https://i.stack.imgur.com/dSSzL.png [3]:https://i.stack.imgur.com/VWJZz.png
根据先知,我的预测应该是年度组成加上趋势。但是,我的年度组成部分与地块组成部分显示的年度季节性完全不同。
有人可以解释我的适合度或年度情节与plot_components
年度相似的方式和原因。以及我的年度图拟合得如何(如图所示),导致看起来像拟合过度?
deluxe_daily_proph=deluxe.reset_index()
m2=Prophet()
m2.fit(deluxe_daily_proph)
future2=m2.make_future_dataframe(periods=50,freq='M',include_history=True )
forecast2=m2.predict(future2)
forecast2[['ds','yhat','yhat_lower','yhat_upper']].tail()
plt.plot(forecast2['ds'],forecast2['yhat'])
plt.plot(deluxe_daily_proph['ds'],deluxe_daily_proph['y'])enter code here
m2.plot_components(forecast2);
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。