Prophet return every prediction value
See original GitHub issueIs your feature request related to a current problem? Please describe. In order to create an outlier detection with Prophet, i need the full dataframe that’s return Prophet
Describe proposed solution
Remove the hardcoded ["yhat"]
from Prophet.predict
add a variable asking to return just yhat
or all the predictions: 'yhat_lower', 'yhat_upper', etc..
https://unit8co.github.io/darts/_modules/darts/models/prophet.html#Prophet.predict
Thanks very much! very useful framework
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Diagnostics | Prophet - Meta Open Source
Here we do cross-validation to assess prediction performance on a horizon of 365 days, starting with 730 days of training data in the...
Read more >Forecast Model Tuning with Additional Regressors in Prophet
Regressor value must be known in the past and in the future , this is how it helps Prophet to adjust the forecast....
Read more >Time Series Forecasting With Prophet in Python
Prophet is an open-source library developed by Facebook and designed for automatic forecasting of univariate time series data. · How to fit ...
Read more >Forecasting in R with Prophet | Reports - Mode Analytics
Once you have used Prophet to fit the model using the Box-Cox transformed dataset, you can now start making predictions for future dates....
Read more >facebook prophet predict value at fixed date in the future
By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi @fawolfmann and @enesgur, prediction and returning of the base model output will be supported after merging #495 .
You can predict and return the raw output with
model.predict_raw(n=len(test))
. Note that this will return a pd.DataFramepred_df
which will not be supported for further processing with the Darts API. You can then access Prophet’s methods likeplot_components()
withmodel.model.plot_compenents(pred_df)
Hi @fawolfmann,
Thanks for reporting.
I think that the solution you propose could indeed be a nice small tweak to the
predict()
method ofProphet
. It would be nice to keep the current behavior as default though, so maybe adding something likesimple_prediction:bool = True
to theProphet.predict()
method could do the trick.I’ll add this to our backlog. In the meantime if you have a little time, feel free to contribute!