Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Oppiskele Prophet Fit | Stock Prices Prediction
Stock Prices Prediction Project

book
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.

Tehtävä

Swipe to start coding

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

Ratkaisu

from prophet import Prophet
m = Prophet(daily_seasonality=True)
m.fit(data_for_prophet)

Mark tasks as Completed
Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 1. Luku 8

Kysy tekoälyä

expand
ChatGPT

Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme

some-alt