Skip to content

Edited for including n_shadow_features #143

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

PaulDanPhillips
Copy link

Summary

This Pull Request addresses issue number #142 from April 19, 2025, which adds support for a' n_shadow_features' parameter in BorutaPy, allowing users to control how many shadow features are generated during feature selection.

Motivation

In some datasets with a very high number of features, creating one shadow per real feature can be expensive and unnecessary. This feature allows greater control and flexibility.

Details

Adds n_shadow_features to init

Modifies _add_shadows_get_imps and _fit logic accordingly

Ensures backward compatibility with the original behavior

Includes a unit test for this feature

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.

1 participant