About

Test error is the prediction error that we incur on new data. The test error is actually how well we'll do on future data the model hasn't seen.

The test error is the average error that results from using a statistical learning method to predict the response on a new observation, one that was not used in training the method.

Estimation

Test error can be estimated :