Data Science, Machine Learning, Analytics, Time Series Analysis, Linear Regression.
step is to partition the data into training and testing datasets. The splitting criterion used is the same as that used in time-series analysis, where the last 12 months form the testing set, while the preceding ones become the training set. In our specific case, this split results in a roughly