Time Series Analysis with Machine Learning and Flow Variables
This workflow is similar to the workflow shown in Chapter 4 "3. Time Series Analysis with Machine Learning". It shows an example of a time series analysis using the verified components Inspect Seasonality and Remove Seasonality.
The data for this example is website traffic data, reflecting the daily number of website visitors, and we want to predict the next day's number of visitors given the number of visitors in the past n days.
To detect and deal with the seasonality in the data we first use the Inspect Seasonality component to find a sign of dominant seasonality. Then, to remove seasonality trends in the data, we use the Remove Seasonality components. Instead of adjusting the value manually in the configuration window of the component, this time we use a flow variable to overwrite the setting.
Lastly, we train and apply a Linear Regression, however, any other numerical prediction algorithm would have worked as well.