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

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

I am trying to install prophet using pip install prophet installation goes well at first, but then fails with the following error ERROR: Failed building wheel for prophet Failed to build prophet ERROR: Could not build wheels for prophet, which is…
Andrey Nikitin
  • 43
  • 1
  • 1
  • 5
4
votes
3 answers

ModuleNotFoundError: No module named 'pyarrow.lib'

This is the full error message. Traceback (most recent call last): File "C:\Users\adi\OneDrive\Desktop\Python310\machine learning project.py", line 3, in import streamlit as st File…
Addy
  • 61
  • 2
  • 6
4
votes
6 answers

Trying to install fbprophet package on ubuntu 20.04

While trying to install fbprophet, the installation gets stuck at this part Building wheels for collected packages: prophet Building wheel for prophet (setup.py) ... | pystan and ephem have been installed. Os-ubuntu 20.04
darthvader40
  • 41
  • 1
  • 4
4
votes
0 answers

Install conda package manually Databricks ML runtime

I have a Databricks ML Runtime cluster. I am trying to install fbprophet library using cluster init_script. I am following the example in the Databricks documentation. #!/bin/bash set -x . /databricks/conda/etc/profile.d/conda.sh conda info…
user3104078
  • 107
  • 1
  • 7
4
votes
2 answers

FBProphet: Understanding Regressor Impact on Multivariate Forecast

Please see this example as the project I am working on is quite similar, but with ~8 regressors instead of 2 and I need to understand how each regressor is impacting the forecast model:…
rajes95
  • 95
  • 1
  • 5
4
votes
1 answer

How to use Prophet's make_future_dataframe with multiple regressors?

make_future_dataframe seems to only produce a dataframe with date (ds) values, which in turn results in ValueError: Regressor 'var' missing from dataframe when attempting to generate forecasts when using the code below. m =…
LMGagne
  • 1,636
  • 6
  • 24
  • 47
4
votes
2 answers

How to get feature importance of FB prophet?

I am using FB Prophet to do time-series forecast. I added two features--discount and promotion, and add holiday effect. The model fits well. But I want to get the feature importance to check how much contribution of 2 features. It seems FB Prophet…
4
votes
1 answer

Struggling to understand the parameters of the cross validation function in fbprophet library

Basically I have 780 (daily) observations from which i would like to train 80% of the data, and the remaining 20% use for cross validation. Therefore I understand I shall use : df_cv = cross_validation(m, initial='624 days', horizon='156…
4
votes
1 answer

FileNotFoundError: [Errno 2] No such file or directory: 'sudo': 'sudo'

I've been trying to create an docker image to run fbprohet and streamlit. When i run the docker run command i get the below error. I've stuck on this issue for a number of days now. Any help would be appreciated. Thanks, $ docker run
zafar alam
  • 41
  • 1
  • 5
4
votes
1 answer

How to calculate SMAPE for groups in time-series data in python?

My data looks like following, and I am using facebook FbProphet for prediction. Next I would like to calculate SMAPE for each group in my dataframe. I found the function described by Kaggle user here But I am not sure How to implement in my current…
4
votes
1 answer

Facebook Prophet: Providing different data sets to build a better model

My data frame looks like that. My goal is to predict event_id 3 based on data of event_id 1 & event_id 2 ds tickets_sold y event_id 3/12/19 90 90 1 3/13/19 40 130 1 3/14/19 13 143 1 3/15/19 8 151 1 3/16/19 13 164 1 3/17/19 14 178 1 3/20/19…
Joey Coder
  • 3,199
  • 8
  • 28
  • 60
4
votes
2 answers

Problems with diagnostics of prophet forecast

I am working with an dataset of crimes in chicago and specially working on a future prediction of the crime rate in chicago (from 2012 till 2016 I have data). I generated a forecast using the prophet package of facebook. It worked very well and all…
Scrappy
  • 51
  • 1
  • 9
4
votes
0 answers

convergence error in facebook prophet in python

INFO:fbprophet.forecaster:Disabling daily seasonality. Run prophet with daily_seasonality=True to override this. Initial log joint probability = -2.46502 Iter log prob ||dx|| ||grad|| alpha alpha0 # evals Notes 99 402.571 0.000207143 101.815…
Sarang Kartikey
  • 101
  • 2
  • 8
4
votes
2 answers

forecasting values for each category using Prophet in python

I am very new to doing time series in Python and Prophet. I have a dataset with the variables article code, date and quantity sold. I am trying to forecast the quantity sold for each article for each month using Prophet in python. I tried using for…
vishnu prashanth
  • 409
  • 11
  • 21
4
votes
2 answers

FBProphet giving error when growth='logistic' python

Here is the code data and the error that I am facing while using Fbprophet library in python. DATA Timestamp Open High Low y Volume \ 0 1519084800 11379.2 11388.9 11379.2 11388.9 0.083001 1 1519084860 11362.0 …
Jaffer Wilson
  • 7,029
  • 10
  • 62
  • 139
1 2
3
32 33