Menu

Inspecting Testing Data

Inspecting Testing Data

Similarly, we can inspect the testing dataset.

Code

**print(X_test.shape)**

**print(y_test.shape)**

Explanation

The testing dataset should contain the same feature columns as the training dataset.

The only difference is that the model has not used these records during learning.

These records will later be used to evaluate prediction accuracy.