Practice
1. In the context of model interpretability, which technique is best suited for explaining individual predictions of a complex model?
easy
Solution
Step 1: Identify the purpose of each technique.
PCA is for dimensionality reduction, K-Means for clustering, and Linear Regression for prediction, not explanation.Step 2: Match the technique to the task.
SHAP is specifically designed to explain individual predictions of complex models.Final Answer:
Option A -> Option AQuick Check:
SHAP explains individual predictions. [OK]
Hint: SHAP explains individual predictions. [OK]
Common Mistakes:
2. In the context of statistical significance testing in ML, which of the following best describes a p-value?
easy
Solution
Step 1: Understand p-value definition
A p-value is the probability of observing the data, or something more extreme, given that the null hypothesis is true.Step 2: Eliminate wrong options
The probability that the null hypothesis is true. is incorrect because p-value is not the probability that the null hypothesis is true. The probability of the alternative hypothesis being true. is incorrect because it does not relate to the alternative hypothesis. The probability of making a Type I error. is incorrect because it confuses p-value with Type I error probability.Final Answer:
Option A -> Option AQuick Check:
P-value is about data given null hypothesis [OK]
Hint: P-value is about data given null hypothesis [OK]
Common Mistakes:
3. In which scenario is supervised learning most appropriate?
easy
Solution
Step 1: Identify the scenario.
Supervised learning is used when labeled data is available and the goal is to predict outcomes.Step 2: Eliminate wrong options.
When you want to cluster similar data points without labels. describes unsupervised learning (clustering), When you need to explore an environment to maximize rewards. describes reinforcement learning (exploration and rewards), and When you want to reduce dimensionality of data without labels. describes unsupervised learning (dimensionality reduction).Final Answer:
Option B -> Option BQuick Check:
Labeled data -> Supervised learning [OK]
Hint: Labeled data -> Supervised learning [OK]
Common Mistakes:
4. A KNN model is performing poorly on a high-dimensional dataset. What is the most likely cause?
medium
Solution
Step 1: Consider high-dimensional effects
In high dimensions, distance metrics often become less effective.Step 2: Eliminate wrong options
The model has too few neighbors. is incorrect as increasing neighbors may not help. The dataset is too small. is wrong because size isn't the main issue. The model is overfitting due to too many neighbors. is incorrect as overfitting is less likely with many neighbors.Final Answer:
Option B -> Option BQuick Check:
High dimensions dilute distance metrics. [OK]
Hint: High dimensions dilute distance metrics. [OK]
Common Mistakes:
5. A deep network is underperforming on a complex task despite having sufficient data. What is a likely cause?
medium
Solution
Step 1: Analyze the symptoms
Underperformance on complex tasks often indicates a lack of capacity to capture hierarchical features, suggesting the network might be too shallow.Step 2: Eliminate wrong options
The network is too deep, causing overfitting. is incorrect because overfitting would show high training accuracy. The learning rate is too high, causing divergence. is incorrect because divergence would cause erratic loss. The batch size is too small, causing slow convergence. is incorrect because slow convergence would not cause underperformance if training is complete.Final Answer:
Option D -> Option DQuick Check:
Shallow networks miss hierarchies. [OK]
Hint: Shallow networks miss hierarchies. [OK]
Common Mistakes:
