From the course: Applied AI for IT Operations (AIOps)

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Testing the time series model

Testing the time series model - Python Tutorial

From the course: Applied AI for IT Operations (AIOps)

Start my 1-month free trial

Testing the time series model

- [Instructor] In this video, we will test the model we built earlier using the test data set. Please note that for predicting each data point with the test data set, we have the previous 168 data points from actual data. In order to test, we first process the test data set with the same create_rnn_dataset function to associate each data point with the previous 168 data points. Then we use the evaluate function to evaluate the model. For comparison sake, we will predict for both the training data set and the test data set. In order to review the results, we will need to do an inverse transform to convert them from the standard scale to the same scale as the original values. Let's run this code now. Now, let's plot the predictions obtained to see how they match up against the original data. The total size of the plot would be the combined size of the predictions on training and testing. First, we get the original data from the data frame and convert it to the same shape as that of the…

Contents