How to perform feature selection on a dataset using correlation-based feature selection process

I have a dataset and on that, I have to perform feature selection using a correlation-based feature selection process (using scikit-learn), can anyone please show me how to do it with a small example using the sklearn library.

I have read sklearn's documentation about feature selection: https://scikit-learn.org/stable/modules/feature_selection.html, but I am not able to wrap my head around it.

Please explain the steps in layman's terms, if possible.

Thank you.

Topic data-engineering machine-learning-model classification feature-selection machine-learning

Category Data Science

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.