Sometime you have a time series of historical data and you would like to know how this series of data will look in the days or years to come. If the data looks "smooth" you would probably make a linear fit and extrapolate from the historical data to the future.
But what if the data is not resembling a line, but has time dependent structures? For example, the outdoor temperature is strongly dependent on the season, and while a straight line fit could be a pretty good representation of the yearly average temperature, it helps me very little if I need to know if I need to bring a scarf tomorrow.
If you have multiple features in the data, you could run a multivariate machine learning regression on the problem, e.g., using a random forest regression with influencing factors as features, and some of the periodicity modelled as explicit features.
But what if all you have is a time series of values? In this post I will demonstrate using Gaussian Process regression to predict the monthly retail trade turnover in Switzerland for the coming year.