[Machine Learning] Solve overfitting, Regularization

If we have overfitting from our hypothesis function, we can reduce the weight that some of the terms in our function carry by increasing their cost.

Say we wanted to make the following function more quadratic:

We could also regularize all of our theta parameters in a single summation as:

原文地址:https://www.cnblogs.com/Answer1215/p/13587523.html