Feature Selection
Why Select Features?
Less is often more
Adding informative features improves the model. Each feature carries useful signal about the target.
Step 1 of 6: Why Select Features?
Less is often more
Adding informative features improves the model. Each feature carries useful signal about the target.
Step 2 of 6: Filter Methods
Score features independently
Filter methods rank features by statistical measures like correlation — fast and scalable but they ignore feature interactions.
Step 3 of 6: Forward Selection
Add one at a time
Forward selection greedily adds the feature that most improves the model at each step. Press Play or drag the slider to start.
Step 4 of 6: L1 Regularization
Let the model decide
Low penalty — all features retained. The model uses every available signal, including noise.
Step 5 of 6: Feature Importance
Tree-based scores
Tree-based models naturally rank features by how much they reduce impurity across all splits. Importance scores are becoming more stable as the ensemble grows.
Step 6 of 6: Impact on Generalization
Selected vs. all features
The optimal feature count balances information gain against the curse of dimensionality. You're at the sweet spot! Maximum test accuracy with minimal overfitting.