Machine Learning, Data Science, Machinelearningalgorithms, Ridge Regression, Python.
after adding penalty to the SSR, we get better output for error. So Ridge regression is used instead of normal Linear Regression. Let us predict test values using both normal and Ridge regression line. here x,y belongs to training data and x2,y2 belongs to testing data pred_training = 1.8+0.89*(x2)