Practice
1. In the context of data collection for machine learning, which scenario best describes an offline data collection approach?
easy
Solution
Step 1: Identify offline data collection characteristics
Offline data collection involves gathering data that has already been generated and stored, not in real-time.Step 2: Eliminate real-time options
Options A, C, and D involve real-time or near-real-time data collection, which is characteristic of online data collection.Final Answer:
Option D -> Option DQuick Check:
Offline = historical, stored data. [OK]
Hint: Offline = historical, stored data. [OK]
Common Mistakes:
2. A model using Batch Normalization is showing unstable training behavior with fluctuating loss. What is the most likely cause?
medium
Solution
Step 1: Identify the role of batch size in Batch Normalization.
Batch Normalization relies on accurate batch statistics, which can be unreliable with small batch sizes.Step 2: Eliminate other causes.
The learning rate is too high, causing instability. is a common issue but not specific to Batch Norm. The model architecture is too deep, causing vanishing gradients. is unrelated to normalization. The dataset is imbalanced, affecting the normalization process. affects model performance but not directly related to Batch Norm instability.Final Answer:
Option A -> Option AQuick Check:
Small batch size causes unstable Batch Norm. [OK]
Hint: Small batch size causes unstable Batch Norm. [OK]
Common Mistakes:
3. For a real-time video surveillance system, which object detection model would be more suitable and why?
medium
Solution
Step 1: Identify system requirements
Real-time systems prioritize speed over marginal accuracy improvements.Step 2: Match model to requirements
YOLO is designed for fast processing, making it suitable for real-time applications.Final Answer:
Option C -> Option CQuick Check:
Real-time = Speed, choose YOLO [OK]
Hint: Real-time = Speed, choose YOLO [OK]
Common Mistakes:
4. A model performs well overall but poorly on a specific slice of data. What is the most likely cause?
medium
Solution
Step 1: Analyze the problem
Poor performance on a specific slice often indicates distribution mismatch.Step 2: Eliminate wrong options
The model is overfitting to the training data. is incorrect as overfitting would affect overall performance. The model has too many parameters. is unrelated to slice-specific issues. The learning rate is too high. affects convergence, not slice performance.Final Answer:
Option A -> Option AQuick Check:
Slice mismatch = distribution issue. [OK]
Hint: Slice mismatch = distribution issue. [OK]
Common Mistakes:
5. A language model using SentencePiece is producing unexpected token sequences. What is a likely cause?
medium
Solution
Step 1: Identify potential issues with SentencePiece training.
Improper normalization can lead to unexpected token sequences.Step 2: Eliminate wrong options.
Large vocabulary (A) and diverse data (C) are less likely to cause unexpected sequences; fixed vocabulary (D) is unrelated to sequence issues.Final Answer:
Option A -> Option AQuick Check:
Normalization issues cause token surprises. [OK]
Hint: Normalization issues cause token surprises. [OK]
Common Mistakes:
