If you aren’t using Boruta for feature selection, you should. It can be used on any tree models, Random Forest, XGBoost, and Regression models.
We will take a look at a simple random forest example and do some feature selection. The only intention of this story is to show you an easy working example so you too can use Boruta.

Import your dataset

This example will use the breast_cancer dataset that comes with sklearn. You can use the optional return_X_y to have it output arrays directly as shown.

#python #machine-learning #data-science

Boruta Feature Selection Example in Python
15.50 GEEK