Forecasting, Data Science, Python, Data Visualization, Machine Learning.
seasonal = 'mul', seasonal_periods = 12) fit = model.fit() forecast = fit.forecast(12) # Plot the data and forecast data['Passengers'].plot(label = 'Observed') forecast.plot(label = 'Holt-Winters Forecast', color = 'red') plt.legend() plt.title("Holt-Winters Seasonal Model Forecast")