Regularization
Regularization is a technique helps to reduce overfitting.In this technique our bias increase little bit but variance improve so much.
Working
You know y=mx+b is line where m defines slope but in terms of machine learning it defines say/weightage of x in model.
If m is very high it is overfitting or m is very low then model is underfitted . In summary we want to set correct value of m.In regularization we just decrease m.
To do it add term called "regularization term" in our loss function
There are 3 types of regularization
- Ridge Regression(L2)
- Lasso Regression(L1)
- ElasticNet Regression
Comments
Post a Comment