Backward Elimination

Backward Elimination is not in the course, but I implemented it using statsmodels.api ols method, after removing columns with large p-values, it is not giving proper results. Results are very inaccurate

Hey @ayushttg8, since value of SL is a hyperparameter, you may need to increase its value. Also it may be true that no feature can be reduced, means all features are important, To check this, you need to use train_test_split. And check the accuracy of all the models.

Hope this resolved your doubt.
Plz mark it as resolved in my doubts section. :blush:

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.