【问题标题】:Facebook Prophet saturation faillingFacebook Prophet 饱和失败
【发布时间】:2020-02-05 19:14:19
【问题描述】:

我正在使用 Prophet 来预测销售额并使用饱和参数来避免负值:

df_prof = df_prof.sample(1000) df_prof['cap'] = 6000 df_prof['floor'] = 10

m = Prophet(growth='logistic')

m.fit(df_prof)
future = m.make_future_dataframe(periods=365)
future['cap'] = 6000
future['floor'] = 10
forecast = m.predict(future)
fig1 = m.plot(forecast)

fig2 = m.plot_components(forecast)

但是预测值的值在两个阈值之外,更低和更高

【问题讨论】:

  • 你能发布最小的例子吗?

标签: python time-series facebook-prophet


【解决方案1】:

这是因为预测方法没有设置为逻辑。

【讨论】:

    猜你喜欢
    • 2021-12-02
    • 1970-01-01
    • 2021-02-02
    • 1970-01-01
    • 2013-03-25
    • 2021-12-29
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多