course content

Course Content

Stock Prices Prediction Project

Prophet FitProphet Fit

We fit the model by instantiating a new Prophet object. Any settings to the forecasting procedure are passed into the constructor. Then you call its .fit() method and pass in the historical dataframe. Fitting should take 1-5 seconds.

The task is completed!


  1. Import Prophet from prophet;
  2. Initialize the Prophet object;
  3. Pass the historical DataFrame to the method.

Everything was clear?

Section 1. Chapter 8