How does the Boruta algorithm use shadow features for feature selection?

Last updated 5 November 2026

  • Boruta adds a shuffled "shadow" copy of every feature as a noise baseline. Each real feature scores a hit when its RF importance beats the maximum shadow importance.

  • Repeated runs with fresh shuffles plus a binomial test on hit counts mark features as confirmed, rejected, or tentative.

  • It is all-relevant (keeps redundant correlated features) and computationally expensive. Implementations include R Boruta and Python BorutaPy.

  • https://metricgate.com/blogs/boruta-feature-selection-explained/
  • https://leehanchung.github.io/blogs/2021/05/14/Boruta-Feature-Selection/
  • https://medium.com/@AngelinaRule/100-days-of-data-science-and-ai-meditation-day-41-a-comprehensive-guide-to-feature-selection-with-ddc4e16deabc
All Random Forests interview questions