Skip to content

Fix ranking of ensemble filters #2698

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Dec 7, 2019
Merged

Fix ranking of ensemble filters #2698

merged 10 commits into from
Dec 7, 2019

Conversation

pat-s
Copy link
Member

@pat-s pat-s commented Dec 5, 2019

fixes #2685

  • rename calcBaseFilters() to rankBaseFilters()

  • add tests checking for correct order of filter values and their corresponding rank

  • filterfeatures(): add test checking for correct subsetting of the task

@pat-s pat-s marked this pull request as ready for review December 6, 2019 10:26
@pat-s pat-s requested a review from larskotthoff December 6, 2019 10:26
use select.method instead of additonal ensemble if-clause
@pat-s pat-s merged commit ed48b7e into master Dec 7, 2019
@pat-s pat-s deleted the fix-ensemble-filters branch December 7, 2019 12:20
vrodriguezf pushed a commit to vrodriguezf/mlr that referenced this pull request Jan 16, 2021
* ensure that ensemble filters rank correctly

* rename

* fix filterFeatures() behavior and add test

* style

* method -> filter for internal robustness;
use select.method instead of additonal ensemble if-clause

* fix test

* upd precommit yml

* fix tests and upd roxygen

* add NEWS.md
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.

Ensemble filters do not select the top ranked features
1 participant