Doubt For Evaluating a Model


Hi, There is a question in the cost function we included regularised term but while calculating compute test error or train error, the regularisation term is not used why so?

We only use regularization to avoid overfitting the training set.

Once you have a trained system, you don’t add the extra penalty for regularization on the CV and Test sets.