Regularization

In linear regression algorithm, coefficient for each independent variable is selected in such a way that the loss function is minimized…