How to build a triple exponential smoothing model for forecasting?

Hi Analytics Vidhya,

I have a machine learning problem that involves predicting the occupancy of hotel rooms based on historical hotel occupancy data.

Here’s a snippet of the CSV file for one of the hotel rooms:


So my question is, since I know this data set has elements of trend and seasonality and that Triple Exponential smoothing(Holt-Winters) would be the most optimal approach, how could I adapt the code in the Guide( to appropriately forecast future Room occupancy based on the format of my data-set.

Any python Code would be greatly appreciated!

© Copyright 2013-2019 Analytics Vidhya