Learn Before
Relation

Connection between Training Error and Test Error

One immediate connection we can observe between training error and test error is that the expected training error of a randomly selected model is equal to the expected test error of that model.

Suppose we have a probability distribution p(x,y)p(x, y) and we sample from it repeatedly to generate the training set and the test set. For some fixed value ww, the expected training set error is exactly the same as the expected test set error, because both expectations are formed using the same dataset sampling process. The only difference between the two conditions is the name we assign to the dataset we sample.

0

1

Updated 2020-06-17

References


Tags

Data Science