これはプロット コンポーネントのイメージです [][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);