Skip to content

Improve SmartCorrelatedSelector consistency with ties#825

Merged
solegalli merged 10 commits intofeature-engine:mainfrom
ClaudioSalvatoreArcidiacono:824-improve-smart-correlated-selector-consistency-with-ties
Aug 10, 2025
Merged

Improve SmartCorrelatedSelector consistency with ties#825
solegalli merged 10 commits intofeature-engine:mainfrom
ClaudioSalvatoreArcidiacono:824-improve-smart-correlated-selector-consistency-with-ties

Conversation

@ClaudioSalvatoreArcidiacono
Copy link
Copy Markdown
Contributor

Fixes #824

@codecov
Copy link
Copy Markdown

codecov Bot commented Dec 2, 2024

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.04%. Comparing base (2738032) to head (d0f85e3).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #825   +/-   ##
=======================================
  Coverage   98.04%   98.04%           
=======================================
  Files         111      111           
  Lines        4653     4653           
  Branches      742      742           
=======================================
  Hits         4562     4562           
  Misses         56       56           
  Partials       35       35           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@solegalli
Copy link
Copy Markdown
Collaborator

Hi @ClaudioSalvatoreArcidiacono

Hope you are doing well and thanks for the patience regarding this PR.

We are releasing a new version of feature-engine soon and we could try and make this PR part of it.

I am happy to accept the change in the sorting algorithm, which will resolve the issue for most cases. But I don't want to pass from sets to lists. That will break backward compatibility.

Could you please rebase main and update the PR with these changes?

@ClaudioSalvatoreArcidiacono
Copy link
Copy Markdown
Contributor Author

Hey @solegalli, I have updated the MR as you requested, could you take a second look?

The inconsistencies with ties will still remain in case we select "model_performance" as a selection metric but it should be solved for all other selection methods.

@solegalli solegalli merged commit 858633b into feature-engine:main Aug 10, 2025
12 checks passed
@solegalli
Copy link
Copy Markdown
Collaborator

Thanks a ton!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SmartCorrelatedSelection does not behave consistently on different hardware with highly correlated features

2 participants