Practice
1. In the context of slice-based evaluation, which of the following is a key benefit?
easy
Solution
Step 1: Understand slice-based evaluation
Slice-based evaluation focuses on analyzing model performance on specific data subsets.Step 2: Eliminate wrong options
It reduces the overall training time of the model. is incorrect as slice-based evaluation doesn't affect training time. It automatically tunes hyperparameters for better performance. is incorrect because it doesn't involve hyperparameter tuning. It ensures the model is robust to adversarial attacks. is incorrect as it doesn't directly address adversarial robustness.Final Answer:
Option D -> Option DQuick Check:
Slice-based evaluation identifies weak data subsets. [OK]
Hint: Slice-based evaluation identifies weak data subsets. [OK]
Common Mistakes:
2. A model trained on a dataset with engineered features is underperforming on the validation set. What is the most likely cause?
medium
Solution
Step 1: Analyze the symptoms of underperformance.
Underperformance on validation suggests overfitting or poor generalization.Step 2: Evaluate the role of feature engineering.
Over-engineered features (C) can lead to overfitting, especially if they capture noise. Normalization (B) affects convergence but not generalization directly. Model complexity (A, D) is less likely the issue if features are the focus.Final Answer:
Option B -> Option BQuick Check:
Over-engineered features often lead to overfitting. [OK]
Hint: Over-engineered features often lead to overfitting. [OK]
Common Mistakes:
3. When choosing between Least Squares and Gradient Descent for linear regression, which scenario makes Gradient Descent more suitable?
medium
Solution
Step 1: Identify the constraint
Gradient Descent is more suitable for large datasets that don't fit in memory because it can process data in batches.Step 2: Eliminate wrong options
Least Squares is efficient for small datasets (A), interpretability is not a deciding factor (C), and noise handling depends on regularization, not the optimization method (D).Final Answer:
Option C -> Option CQuick Check:
Gradient Descent handles large datasets in batches. [OK]
Hint: Gradient Descent handles large datasets in batches. [OK]
Common Mistakes:
4. For a task involving complex spatial hierarchies, which architecture is more suitable and why?
medium
Solution
Step 1: Consider the task requirements
Complex spatial hierarchies require the ability to learn multiple levels of abstraction, which deep networks are better suited for.Step 2: Eliminate wrong options
A shallow network because it trains faster. is incorrect because training speed is not the primary concern. A shallow network because it requires less data. is incorrect because data requirements depend on the task complexity. A deep network because it always generalizes better. is incorrect because deep networks do not always generalize better.Final Answer:
Option C -> Option CQuick Check:
Deep networks for complex hierarchies. [OK]
Hint: Deep networks for complex hierarchies. [OK]
Common Mistakes:
5. When deciding between a rule-based system and a machine learning model for a task, which scenario favors a rule-based approach?
medium
Solution
Step 1: Identify the nature of the task.
Rule-based systems excel in tasks with clear, logical rules.Step 2: Eliminate tasks requiring pattern recognition.
Options A, B, and D involve pattern recognition, which is better suited for ML.Final Answer:
Option A -> Option AQuick Check:
Rules for logic, ML for patterns. [OK]
Hint: Rules for logic, ML for patterns. [OK]
Common Mistakes:
