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
1 answer

How to extract xy data from Prophet.plot_components()

I have data on disease case counts per unit time so that I may predict outbreaks. I used Facebook Prophet's plot_components function to extract the base trend from the data which Prophet allows one to do quite easily: model =…
Joel Porcaro
  • 69
  • 1
  • 1
  • 7
3
votes
2 answers

Flask duplicate logs after importing fbprophet

I'd like to use logging in my Flask app by simply calling logging.getLogger('myapi') in each of the files where I need to log. There should be a single place to define the handler and format for this "global" application logger. This works, but…
repoleved
  • 744
  • 6
  • 11
3
votes
2 answers

Prophet Python ValueError: Regressor missing from dataframe

I am trying to use the latest (2nd) 0.3 version of the Prophet package for Python. My model should include an exogenous regressor, but I receive a ValueError stating that the indeed existing regressor is missing from dataframe. Is this a bug or what…
B..H
  • 39
  • 1
  • 4
3
votes
0 answers

CompileError : command 'C:\\MinGW\\bin\\gcc.exe' failed with exit status 1 while installing pystan

i'm trying to get pystan to work on Windows 10 in order to use the fbprophet package for time series. I have already installed MinGW, added its directories to my PATH environment variable and tried this piece of code to verify everything is working…
Miguel 2488
  • 1,410
  • 1
  • 20
  • 41
3
votes
1 answer

Dask and fbprophet

I'm trying to use dask and the fbprophet library together and I'm either doing something wrong or having unexpected performance problems. import dask.dataframe as dd import datetime as dt import multiprocessing as mp import numpy as np import…
rpanai
  • 12,515
  • 2
  • 42
  • 64
2
votes
0 answers

Unable to import holidays from fb prophet package

Getting error while importing holidays from fb prophet as below. Seems like an intermittent issue. import fbprophet.hdays as hdays_part2 TypeError: This is a python-holidays entity loader class. For entity inheritance purposes please import a class…
Sarang Manjrekar
  • 1,839
  • 5
  • 31
  • 61
2
votes
0 answers

How To Add Other Variables When Using Facebook Prophet?

I have a table looks like this. (I have a bigger dataset but this explains the…
Arnve
  • 29
  • 5
2
votes
0 answers

Could not build wheels for Prophet, which is required to install pyproject.toml-based projects

I am new to python programming and trying my hand on time-series analysis. I am using Windows-10 with Python 3.11.0 installed (No option to use anaconda due to policy restriction). Wanted to install Prophet for my analysis however I am getting he…
bish
  • 21
  • 1
  • 2
2
votes
0 answers

ModuleNotFoundError: No module named 'prophet' in Jupyter notebook

prophet was working fine in VS code in a virtual environment. I need to switch to jupyter notebook. I start the kernel in the same virtual environment. from prohpet import Prophet gives the following error ModuleNotFoundError …
2
votes
0 answers

Spark task is running forever with WARN HangingTaskDetector message

I am trying to do a forecast of sales using Prophet in my Databricks cluster through a Grouped Map Pandas UDF. The problem is that each time I run it, either two or one executors get stuck running their last task set (that'd be 8 tasks per executor…
2
votes
1 answer

Superset & Prophet (Forecast) not working

I am using Superset v1.5.1, and trying to use the Forecast option. I ran multiple commands, including: pip --no-cache-dir install pystan==2.19.1.1 && pip install prophet or pip install lunarcalendar tqdm "pystan<3.0" && pip install "prophet>=1.0.1,…
yodamousta
  • 156
  • 9
2
votes
1 answer

Fb-Prophet, Apache Spark in Colab and AWS SageMaker/ Lambda

I am using Google-Colab for creating a model by using FbProphet and i am try to use Apache Spark in the Google-Colab itself. Now can i upload this Google-colab notebook in aws Sagemaker/Lambda for free (without charge for Apache Spark and only…
2
votes
0 answers

SHAP values for Prophet / time series data

I would like to utilize shap values for multivariate time series data and models like prophet. from prophet import Prophet ph = Prophet() for column in time_series_df.drop(columns = ['y', 'ds'], inplace = False).columns: …
Bara
  • 129
  • 5
2
votes
1 answer

How to add hourly seasonality in facebook prophet in python

could you, please, help me: I don't know how to add hourly seasonality in Facebook Prophet in Python. I tried the following: m = Prophet( weekly_seasonality = True, yearly_seasonality = True, daily_seasonality =…
2
votes
0 answers

installing fbprophet in docker file docker build on M1 Mac does not work

Does anyone know how to install fbprophet in the docker file for the Mac M1 pro ? As I am unable to install it citing below is instructions saved in a text file named "dockerfile": FROM jupyter/scipy-notebook:python-3.9.7 RUN pip install…