Sample from the posterior predictive distribution.
Sample from the posterior predictive distribution.
predictive_samples(m, df)
m |
Prophet object. |
df |
Dataframe with dates for predictions (column ds), and capacity (column cap) if logistic growth. |
A list with items "trend" and "yhat" containing posterior predictive samples for that component.
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.