Ridge Regression, Lasso Regression, Elasticnet Regression, Machine Learning, Machinelearningalgorithms.
how Ridge Regression making sure that Overfitting will not happen. Now you know your new best-fit line’s cost function is minimal and not zero. You can find a small value to your slope and when it is a small value your cost function also gets a small value. This is how Ridge regression makes sure