Facebook Prophet 饱和度下降问题。

3

我正在使用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)

但预测值超出了两个阈值,即下限和上限。 enter image description here

你能否发布一个可工作的最小示例? - Zaraki Kenpachi
1个回答

1

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


网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接