Skip to content

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