- Published: August, 2022
- Updated: May, 2026
-
Basic Selection Methods
- Removing Constant Features
- Removing Quasi-Constant Features
- Removing Duplicated Features
-
Correlation Feature Selection
- Removing Correlated Features
- Smart Correlation
-
Statistical methods
- Chi-square distribution
- Anova
- Correlation
- Mutual information
-
Univariate Methods
- Single feature classifiers / regressors
- Target mean encoding
-
Wrapper Methods
- Exhaustive Feature Selection
- Step Forward Feature Selection
- Step Backward Feature Selection
-
Embedded Methods: Linear Model Coefficients
- Lasso
- Decision tree feature importance
-
Recursive Feature Elimination
- RFE - embedded importance
- RFE - model performance
-
Alternative Feature Selection Methods
- Feature Shuffling
- Recursive Feature Addition
- Probe Features
- MRMR
- Boruta
If you want to run the recipes of this book in a dedicated environment:
Create and activate a virtual environment
python -m venv fsmlbook
source fsmlbook/bin/activate # macOS/Linux
fsmlbook\Scripts\activate # WindowsInstall dependencies
pip install -r requirements.txtInstall Jupyter and register the kernel
pip install jupyter ipykernel
python -m ipykernel install --user --name=fsmlbook --display-name "fsmlbook"The environment will now be available as a kernel named fsmlbook in Jupyter Notebook.
