To start of with let’s find out why regularization, by doing so we would get a better intuition of what and how. Before starting with why, we would have to know “what is overfitting?” Overfitting On a whole overfitting is a modelling error. When a model start to learn too much…