In the week3 Evaluating a model
Andrew introduced two ways to test your model’s performance without plotting.
We first split datasets into training and test sets.
Then we can use the test set data to check how’s our model’s performance.
The second way is to reuse the training set to compute the model’s performance, however I am confused here, if we reuse the training set, isn’t it will not make any difference? How can we get info of how is our model’s performance from it since we used those data to train our model first? Isn’t the cost will be the “same”(not the same but very close to the cost since we didn’t use the regularization) What is the math behind it?