regularization in machine learning example