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
3
votes
2 answers

dyld[3169]: Library not loaded: @rpath/libtbb.dylib

I am trying to use prophet on python to forecast stock data. I could download the package fine through pip install prophet but when i run: m = Prophet() m.fit(mydataframe) It gives me this error: RuntimeError: Error during optimization: console log…
dunny
  • 31
  • 2
3
votes
3 answers

Installing fbprophet on colab

Hi when I try to intall fbprophet on google colab i get this error anyone knows how to fix it? Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/ Collecting fbprophet Using cached…
Gozdi
  • 41
  • 1
  • 1
  • 6
3
votes
0 answers

How to disable tqdm progress bars appearing in an algorithm by default

I need to disable the progress bar that is appearing by default while training the Neuralprophet algorithm. Sample code to try: import pandas as pd from neuralprophet import NeuralProphet, set_log_level set_log_level("ERROR") data_location =…
3
votes
1 answer

Optimising the interval width parameter of prophet for anomaly detection

I'm using Facebook prophet for the anomaly detection task. Optimization of the general hyper-parameters of a prophet will get us to make the predictions better(yhat), but anomalies in the prophet are decided/captured based on if the value(Y) lies…
3
votes
1 answer

How to build an irregular time-series prediction model in python?

I'm trying to build a model, data consists of specific date_time for every day (the action can happen multiple times every day) and I want to predict the next time the action will happen. Sample data looks like this: 2021-12-17 21:28:26 2021-12-17…
3
votes
1 answer

Installing Remote R Package to Databricks Cluster Rather than Notebook

I am trying to install the prophet package to Databricks. I want to install it directly to my cluster rather than my notebook. Below is the following code to install it to the notebook: Sys.setenv(DOWNLOAD_STATIC_LIBV8 =…
nak5120
  • 4,089
  • 4
  • 35
  • 94
3
votes
1 answer

FB-Prophet getting change points in R: what does m$changepoints.t represent?

I am using Facebook's Prophet algorithm for change point detection in time series. When I was going over the tutorial on the website, I noticed there are multiple vectors in the output of the prophet() call that refer to change points. Suppose m is…
saQuist
  • 416
  • 7
  • 19
3
votes
0 answers

Pandas fails with dateutil/tz.py line 78 `self._name`, invalid syntax

I have a pretty simple Prophet script that I'm running on a RHEL 6.6 Santiago system. When I run it, I get this traceback Traceback (most recent call last): File "working_v1_runSplunkProphet.py", line 7, in import pandas as pd File…
brehma
  • 206
  • 1
  • 11
3
votes
2 answers

How to silent an output from Prophet?

I`m using Prophet (Time series library by Facebook) and it makes a lot of output. Something like this: Prophet output I`m already silent some output like this: @contextmanager def suppress_stdout(): with open(os.devnull, "w") as devnull: …
josqa
  • 31
  • 6
3
votes
1 answer

Facebook-Prophet cross validation with monthly data - Workaround: Pandas timedelta does not support Month and Years

I am using Facebook Prophet to forecast some time series data on monthly base. ds y 2020-02-01 400.0 2020-03-01 450.0 2020-04-01 0.0 2020-05-01 225.0 I would like to use the cross_validation() function to evaluate my results. from…
3
votes
1 answer

How can I use Hyperopt with MLFlow within a pandas_udf?

I'm building multiple Prophet models where each model is passed to a pandas_udf function which trains the model and stores the results with MLflow. @pandas_udf(result_schema, PandasUDFType.GROUPED_MAP) def forecast(data): ...... with…
nescobar
  • 81
  • 1
  • 5
3
votes
1 answer

Facebook Prophet saturation failling

I´m using Prophet to predict sales and using the saturation parameter to not have negative values: df_prof = df_prof.sample(1000) df_prof['cap'] = 6000 df_prof['floor'] = 10 m = Prophet(growth='logistic') m.fit(df_prof) future =…
Luis Ramon Ramirez Rodriguez
  • 9,591
  • 27
  • 102
  • 181
3
votes
1 answer

Problem when fit the prophet model using python

I am using prophet for model prediction. I have dataset which have datetime, app1Click, App2Click columns. datetime app1Click app2Click 2019-03-12 10 30 2019-03-13 57 20 There is no NaN values in dataframe ,…
3
votes
1 answer

R Prophet add_regressor giving strange results

I'm trying (for the first time) to add an external variable to prophet with the add_regressor function, but the results I'm getting look wild. The dataset I'm using is freely available on kaggle (the well known shampoo sales) here. I'm attempting to…
DeathbyGreen
  • 337
  • 2
  • 17
3
votes
0 answers

Finding assigned importance to variable inside Prophet model?

I am building datasets and training unique models for combinations of x1, x2, x3. Think: prophet1 <- fit.prophet(data.frame(ds, y, x1)) prophet2 <- fit.prophet(data.frame(ds, y, x2, x3)) prophet3 <- fit.prophet(data.frame(ds, y, x3)) I am then…
CorerMaximus
  • 653
  • 5
  • 15