Implement Correlation with target as a selection method in SmartCorrelatedSelection - #827
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #827 +/- ##
=======================================
Coverage 98.03% 98.03%
=======================================
Files 111 111
Lines 4623 4626 +3
Branches 729 730 +1
=======================================
+ Hits 4532 4535 +3
Misses 56 56
Partials 35 35 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Hi @ClaudioSalvatoreArcidiacono Thanks for this PR. This is almost good to go. We need 2 extra bits:
This is the user guide file that needs updating: https://github.com/feature-engine/feature_engine/blob/main/docs/user_guide/selection/SmartCorrelatedSelection.rst If would be great if you add the "theory" about the selection method at the top of the file and then an example following the example with the headline "Performance". Thank you! |
…ement-corr-with-target-selection-method-smartcorrelatedselection
|
Hey @solegalli, apologies for my late reply, I have been terribly busy lately. Thanks a lot for reviewing my MR, I have implemented the changed you have requested, let me know if you would like to see more changes :). |
| .. code:: python | ||
|
|
||
| {'var_7': {'var_4', 'var_6', 'var_9'}, 'var_0': {'var_8'}} | ||
|
|
There was a problem hiding this comment.
After this code, I think it would ne nice to show that the correlation of var_0 with the target is higher than the correlation of var_8 with the target. Would you mind adding that @ClaudioSalvatoreArcidiacono ?
|
Thank you @ClaudioSalvatoreArcidiacono ! This is almost there. I propose a few minor edits and a paragraph needs updating. That's all. If you agree, give me a shout when it's done so I can merge :) |
Co-authored-by: Soledad Galli <solegalli@protonmail.com>
Co-authored-by: Soledad Galli <solegalli@protonmail.com>
Co-authored-by: Soledad Galli <solegalli@protonmail.com>
Co-authored-by: Soledad Galli <solegalli@protonmail.com>
…rrelatedselection' of https://github.com/ClaudioSalvatoreArcidiacono/feature_engine into 826-implement-corr-with-target-selection-method-smartcorrelatedselection
|
Thanks for reviewing the MR @solegalli, all comments have been addressed. |
|
Thank you @ClaudioSalvatoreArcidiacono ! This was an awesome contribution! |
Fixes #826