0
0
ML Pythonml~5 mins

Recursive feature elimination in ML Python - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is Recursive Feature Elimination (RFE)?
RFE is a method to select important features by repeatedly training a model, ranking features by importance, and removing the least important ones until the best set remains.
Click to reveal answer
beginner
Why do we use Recursive Feature Elimination?
We use RFE to improve model performance and reduce complexity by keeping only the most useful features and removing irrelevant or noisy ones.
Click to reveal answer
intermediate
How does RFE decide which features to remove?
RFE trains a model and ranks features by their importance scores (like coefficients or feature importances). It removes the least important features in each step.
Click to reveal answer
intermediate
What types of models can be used with RFE?
RFE works with models that provide feature importance, such as linear models with coefficients or tree-based models with feature importance scores.
Click to reveal answer
intermediate
What is a common stopping criterion in RFE?
RFE stops when a desired number of features is reached or when removing more features hurts model performance.
Click to reveal answer
What does Recursive Feature Elimination do?
ANormalizes all features
BAdds new features to the dataset
CRandomly selects features
DRemoves features one by one based on importance
Which model type is suitable for RFE?
AModels that provide feature importance
BModels that only predict labels
CModels without coefficients
DModels that do not train
When does RFE usually stop removing features?
AWhen all features are removed
BAfter one iteration
CWhen the desired number of features is reached
DWhen accuracy drops to zero
What is the main goal of using RFE?
ATo increase dataset size
BTo select the most important features
CTo create new features
DTo shuffle data randomly
Which of these is NOT a step in RFE?
AAdd random noise to features
BRank features by importance
CRemove least important features
DTrain model on current features
Explain how Recursive Feature Elimination works step-by-step.
Think about training, ranking, removing, and repeating.
You got /4 concepts.
    Why is feature selection important and how does RFE help with it?
    Consider benefits of fewer features and how RFE chooses them.
    You got /4 concepts.