Posts

Showing posts with the label Regularization

Machine Learning Series: Regularization

Image
Hello Reader,   In this post, I want to describe the concept of regularization and how to apply it in your ML experiments. Let's get started   To have a robust model it should be able to generalize and provide a good prediction on instances not used during the training phase   A low-quality prediction can be caused by one of the following cause: Bias : the model is too simple for the problem we are trying to solve e.g. using a linear model when the data has polynomial distribution. A model with high bias is under-fitting its training data and results in low scores on both training and test sets. Variance : the model is too sensitive to training data variations. A model affected by high variance overfits the training data. It has a high score on the training and a low score on the test data Low-Quality Data : the data contains errors that do not allow the model to learn the correct patterns.    How to solve these issues? In case of model bias, we can change the a...