How to make a feature selection with the help of logistic regression?

Hi. Can you explain more how the coefficients resulting from the logistic regression relate to feature selection?

Iā€™d recommend checking out this mission on Feature Preparation, Selection, and Engineering in the Kaggles Fundamentals course. Screens 2-4 explain a basic way to manually select the best-performing features by first rescaling the data and then looking at the absolute values of the coefficients for each feature. Note that there are more advanced methods for this and scikit-learn actually has built-in feature selection classes you can use alternatively, as explained on screen 9 of this mission.

1 Like