A brief introduction to regularization