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

Using Prophet package to forecast by groups and create plot

I am using Prophet package to forecasting in groups in a dataframe, and I want to create plots using the grouped dataframe. I was following the answers in Using Prophet Package to Predict by Group in Dataframe in R. Are there easier ways to create…
Alex Ho
  • 418
  • 1
  • 4
  • 8
0
votes
1 answer

KeyError: '2001-07-04 00:00:00' while trying to fit prophet model with holidays parameter. This key doesn't exist in the holidays data frame

I am new to timeseries analysis and was trying to fit my data into the fb prophet model using the holidays parameter but It was giving a key error on a date which doesn't exist. On renaming the whole holidays column to some other name like super it…
0
votes
0 answers

Unable to install fbprophet package in python 3

While trying to install fbprophet package in windows 10 64 bit operating system machine using pip install fbprophet, I am facing few errors Failed building wheel for ephem Failed to build fbprophet ephem error: Microsoft Visual C++ 14.0 is…
0
votes
1 answer

Error: package or namespace load failed for ‘prophet’

I have installed Rtools(rtools35.exe) and also installed rstan before installing prophet but it gives me error everytime like this > library(prophet) Error: package or namespace load failed for ‘prophet’: .onLoad failed in loadNamespace() for…
0
votes
0 answers

Using prophet package in shiny dashboard?

I am working with shiny (shiny dashboard) and also doing a forecast of my dataset through the prophet package. Shiny is working perfect, and my forecast too. Now I would like to insert the code into shiny so to plot the forecast plot inside shiny.…
S002
  • 31
  • 7
0
votes
2 answers

Stock Price prediction with masked features

My training data contains the prices of the stock and 40 masked features. These masked features are also present in my test data. I want to predict the price column in the test data. Can I solve it as a normal supervised learning problem and not…
0
votes
0 answers

Add Header of filename to csv

So I am looping through multiple csv files and using FBProphet to get a forecast for them. I then write all of the forecasts to one csv file using .to_csv. However I would like to get the filename to separate them on the csv and am unsure if there…
0
votes
2 answers

Writing to excel file from forecasted data

So I have several csv files that I am importing in and then I use FB Prophet to give me a forecast for the coming months data. I would like all of the forecasts to go to either a different csv or all on the same one. Currently it is only writing the…
0
votes
1 answer

In a dataset for forecasting with Prophet, the date column should be ordered?

I noticed problems of convergence for the Prophet algorithm when your date column, the ds column, is not properly ordered. How could this be explained?
Luca Massaron
  • 1,734
  • 18
  • 25
0
votes
1 answer

Adding a fbprophet time series plot within a Bokeh dashboard?

It's a bit of a strange question, but here goes. I really like Bokeh dashboards for most things, but for time series fits and plots I think fbprophet can't be beat. I was wondering if there's a way to combine fbprophet's time series fits and…
user3490622
  • 939
  • 2
  • 11
  • 30
0
votes
1 answer

Can't use prophet for forecasting ( Dataframe has less than 2 non-NaN rows)

My notebook in kaggle Please focus on the block near the bottom of my notebook. I can't do a forecast with an error message "ValueError: Dataframe has less than 2 non-NaN rows." What Can I do to resolve it ??? tic = time.time() for s in…
Jeffery Wong
  • 11
  • 1
  • 5
0
votes
1 answer

How to forecast time series for many products, including a seasonality factor in R

Following my previous question with one product to forecast, lets say I have 5 products to forecast as in the following data: units_vector <-…
quant
  • 4,062
  • 5
  • 29
  • 70
0
votes
1 answer

Backwards forecasting using the prophet package

I have retail sales data from Jul'17 to Jul'18, and would like to extend the series to the period Jan'17 ~ Jun'17, for which I don't have any data. Since this is retail data I want to use the prophet package, as it accounts holidays and…
Fino
  • 1,774
  • 11
  • 21
0
votes
0 answers

pip install fbprophet - error: "io.h: No such file or directory error: command 'cl.exe' failed with exit status 2

I am trying to install for python (anaconda, windows) package: "fbprofit". At the first stage I've got error: Microsoft Visual C++ 14.0 is required - error - pip install fbprophet but now it seems to be resolved (thanks to SO), and there is another…
Alexander Chervov
  • 616
  • 3
  • 7
  • 23
0
votes
1 answer

R crashes when prophet model run in a loop

R crashes when prophet model run in a loop and the termination of the loop is not in a particular fashion i.e. it crashes R randomly. for(j in seq_along(unique_code_train)) { train1 <- filter(train, CODE == unique_code_train[j]) train1…