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.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.