0
0
ML Pythonml~5 mins

Mutual information for feature selection in ML Python - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is mutual information in the context of feature selection?
Mutual information measures how much knowing one variable reduces uncertainty about another. In feature selection, it tells us how much information a feature gives about the target variable.
Click to reveal answer
beginner
Why is mutual information useful for selecting features?
Because it captures any kind of relationship (not just linear) between a feature and the target, helping to pick features that truly help predict the target.
Click to reveal answer
intermediate
How is mutual information different from correlation?
Correlation measures only linear relationships, while mutual information measures all types of relationships, including nonlinear ones.
Click to reveal answer
beginner
What does a mutual information score of zero between a feature and the target mean?
It means the feature and the target are independent; knowing the feature does not give any information about the target.
Click to reveal answer
intermediate
Name one limitation of using mutual information for feature selection.
Estimating mutual information from data can be tricky and may require many samples; also, it does not consider feature redundancy by itself.
Click to reveal answer
What does mutual information measure between a feature and the target?
AThe variance of the feature
BOnly linear correlation
CThe difference in means
DThe amount of shared information
If a feature has zero mutual information with the target, what does it mean?
AThe feature perfectly predicts the target
BThe feature has missing values
CThe feature and target are independent
DThe feature is highly correlated with the target
Which of these is a benefit of using mutual information for feature selection?
AIt can detect nonlinear relationships
BIt only detects linear relationships
CIt ignores all relationships
DIt requires no data
What is a common challenge when using mutual information in practice?
AEstimating it accurately needs enough data
BIt always overfits the model
CIt is easy to compute with few samples
DIt only works for categorical features
Mutual information can help select features that are:
AUnrelated to the target
BHighly informative about the target
CAlways redundant
DOnly numeric
Explain in your own words what mutual information tells us about a feature and the target.
Think about how knowing the feature helps predict the target.
You got /4 concepts.
    Describe one advantage and one limitation of using mutual information for feature selection.
    Consider both what mutual information does well and what can be difficult.
    You got /4 concepts.