This is one of the simplest and most effective cost functions that we can use. It can also be called the quadratic cost function or sum of squared errors.