Course Content
Stock Prices Prediction Project
Prophet 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.
Task
Swipe to show code editor
- Import
Prophet
fromprophet
; - Initialize the
Prophet
object; - Pass the historical DataFrame to the method.
Mark tasks as Completed
Switch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?
Thanks for your feedback!
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.
Task
Swipe to show code editor
- Import
Prophet
fromprophet
; - Initialize the
Prophet
object; - Pass the historical DataFrame to the method.
Mark tasks as Completed
Switch to desktop for real-world practiceContinue from where you are using one of the options below
Section 1. Chapter 8
AVAILABLE TO ULTIMATE ONLY