gpt4 book ai didi

python - python fbprophet 中的 plot_components 返回重复的图

转载 作者:行者123 更新时间:2023-12-02 17:02:04 25 4
gpt4 key购买 nike

我在 python 中使用 prophet 进行时间序列预测。拟合模型后,当我使用 plot_components(forecast) 绘制季节性成分时,我得到了每个图的两个副本:趋势、每日季节性等的 2 个副本。知道为什么吗?

最佳答案

在m.plot(forecast)之后加上分号(;)

>>m.plot(forecast);

引用this

关于python - python fbprophet 中的 plot_components 返回重复的图,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53659165/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com