Questions tagged [facebook-prophet]

Prophet is a forecasting library, open sourced by Facebook, with APIs available in both R and Python. Use this tag instead of the [prophet] tag for questions related to the Facebook software.

Prophet is a forecasting library, open sourced by Facebook, with APIs available in both R and Python.

References

490 questions
2
votes
5 answers

Error installing FBPROPHET in my windows machine

I am getting the below mentioned error while installing fbprophet in the Windows environment, and, also setup.py is being triggered as part of installation as the installation using wheel file fails. Installation of fbprophet library: Using legacy…
nikhil int
  • 181
  • 2
  • 14
2
votes
1 answer

How to get more dynamic growing Hourly Python Facebook Prophet Forecast

im currently trying to build a good forecast on Hourly Based Data with Python and Prophet. After cleaning all the data and resampling missing values, i already got a much better result. I also included cap and floor and a own…
2
votes
1 answer

Exclude Weekends in Dot in Dplyr

This is a continuation question from this answer: https://stackoverflow.com/a/45254762/5893585 I am using the do function in dplyr within the prophet package. When attempting this I want to make a future dataframe with weekends excluded. Below is my…
nak5120
  • 4,089
  • 4
  • 35
  • 94
2
votes
1 answer

Facebook NeuralProphet - Generating model file

Trying to understand if I can use pickle for storing the model in a file system. from neuralprophet import NeuralProphet import pandas as pd import pickle df = pd.read_csv('data.csv') pipe = NeuralProphet() pipe.fit(df, freq="D") pickle.dump(pipe,…
user1578872
  • 7,808
  • 29
  • 108
  • 206
2
votes
1 answer

Facebook NeuralProphet - Loading model from pickle for prediction

I have a weekly Job which reads data from a csv file and create model based on NeuralProphet and dump the pickle file for the later use. from neuralprophet import NeuralProphet from matplotlib import pyplot as plt import pandas as pd import…
user1578872
  • 7,808
  • 29
  • 108
  • 206
2
votes
0 answers

Hyperparameter optimization while using fable.prophet?

I would like to do hyperparameter optimisation while using the awesome fable package(here fable.prophet) from tidyverts Using the example of fable.prophet like as mentioned at https://github.com/mitchelloharawild/fable.prophet. fit <- cafe %>% …
cube
  • 345
  • 1
  • 2
  • 9
2
votes
0 answers

Broken Process Pool error using fbProphet cross validation

I'm using facebook's Prophet library to do a forecast, but before I put it in production I want to validate it using the included cross validation package. I have a machine with 64GB RAM and Ryzen 9 5950X. I get this error: "BrokenProcessPool: A…
2
votes
2 answers

NixOS: How to add prophet to Jupyter environment?

I'm using JupyterWith framework for the definition of declarative and reproducible Jupyter environments on Nix OS. Based on the documentation, I have created shell.nix file where I define all the python dependencies. And it works just fine: let …
2
votes
0 answers

fbprophet was not installing in python (Windows)

I'm not able to install the fbprophet in python from pycharm in windows i follows the facebook docs for install the module but keeps shown error while i installed pystan first but when i types pip install prophet then it pops this error I stuck…
2
votes
2 answers

Prophet fails to install in Python

I've been trying to install prophet through pip install pystan pip install prophet but I keep getting errors. Then, I tried using conda to install prophet using: conda install -c conda-forge prophet But I keep getting errors such as, Collecting…
ronaldh
  • 33
  • 1
  • 4
2
votes
1 answer

fbprophet yearly seasonality volatility

I am new to using fbprophet and have a question about using the predict function. As an example, I am using fbprophet to extrapolate Apples revenue for the next 5 years. Below is the code using the default settings. m =…
2
votes
1 answer

Prophet fit crashes Jupyter Notebook

I'm running this piece of code in Jupyter Notebook. All goes well, but the last line always crashes the kernel ("The kernel appears to have died. It will restart automatically."). I ran it in Colab and it works just fine. Any ideas? import numpy as…
Lucas
  • 91
  • 9
2
votes
2 answers

Plotting only forecasted value on Facebook Prophet model Python

When I plot with facebook prophet model by the following code: number_of_days_in_future = 20 future = m.make_future_dataframe(periods=number_of_days_in_future, freq="D") weekend = future[future['ds'].dt.dayofweek < 5 ] prediction =…
2
votes
0 answers

How to level the trend line when using Facebook Prophet for forecasting

I am using an additive Facebook Prophet model for predicting forecasts. On my test data it seems to be understanding the spikes well, but the overall trend is completely wrong, based on the last few data points going down: Is there a way to level…
Darcey BM
  • 301
  • 1
  • 5
  • 20
2
votes
1 answer

How to successfully install fbprophet via Gitlab CI?

I am trying to deploy a code of mine (that uses fbprophet) as an EC2 instance using Gitlab CI. my requirements.txt file: -i https://pypi.org/simple cmdstanpy==0.4 convertdate==2.2.1 cycler==0.10.0 cython==0.29.21; python_version >= '2.6' and…
some_programmer
  • 3,268
  • 4
  • 24
  • 59