Backwared Elimination in Linear Regression Model Building
Backward Elimination
- Select a significance level to stay in the model (eg. SL = 0.05)
- Fit the full model with all possible predictors
- Consider the predictor with the highest P-value. If P > SL, go to STEP 4, otherwise go to FIN
- Remove the predictor
- Fit model without this variable
Back to (3)
FIN - you're done. Congratulations - you've applied LR to build an ML model!
If you're using Scikit-Learn, the module automatically selects the statistically significant features, but, if you want to see how BE is done, check out HdP's videos on DropBox
Comments
Post a Comment