Practice
1. In the context of object detection, which of the following is a key advantage of YOLO over R-CNN?
easy
Solution
Step 1: Identify YOLO's strengths
YOLO is known for its real-time processing capabilities due to its single-stage architecture.Step 2: Eliminate wrong options
Higher accuracy on small objects: R-CNN is generally better for small objects. Better handling of occlusions: Handling occlusions is not a specific strength of YOLO. More robust to varying lighting conditions: Lighting conditions are not specifically addressed by YOLO.Final Answer:
Option A -> Option AQuick Check:
YOLO = Speed, R-CNN = Precision [OK]
Hint: YOLO = Speed, R-CNN = Precision [OK]
Common Mistakes:
2. In the context of diagnosing overfitting, which of the following is a clear indicator that a model is overfitting?
easy
Solution
Step 1: Identify overfitting symptoms
Overfitting occurs when a model learns the training data too well, including noise, leading to poor generalization on unseen data.Step 2: Eliminate wrong options
The model performs well on both training and validation datasets. indicates good generalization, The model performs poorly on both training and validation datasets. indicates underfitting, and The model's performance improves with more training data. suggests improvement, not overfitting.Final Answer:
Option B -> Option BQuick Check:
Good train, bad validation = overfitting [OK]
Hint: Good train, bad validation = overfitting [OK]
Common Mistakes:
3. Given the following Python code snippet, what will be the output when calculating the Euclidean distance between two high-dimensional points?
import numpy as np
point1 = np.array([1, 2, 3, ..., 1000])
point2 = np.array([2, 3, 4, ..., 1001])
distance = np.linalg.norm(point1 - point2)
print(distance)easy
Solution
Step 1: Calculate the difference between points.
The difference is [1, 1, 1, ..., 1].Step 2: Calculate the Euclidean distance.
The distance is sqrt(1000) = 31.62.Final Answer:
Option D -> Option DQuick Check:
Euclidean distance in high dimensions is sqrt(n). [OK]
Hint: Euclidean distance in high dimensions is sqrt(n). [OK]
Common Mistakes:
4. A neural network model is not improving beyond a certain accuracy. What is the most likely cause?
medium
Solution
Step 1: Analyze the symptom
If a model's accuracy plateaus, it often indicates that the model has reached its capacity to learn from the data.Step 2: Eliminate wrong options
Options A and B would show different symptoms like oscillating loss or high training error. The dataset is too small would likely cause overfitting, not a plateau.Final Answer:
Option A -> Option AQuick Check:
Plateau = model capacity limit [OK]
Hint: Plateau = model capacity limit [OK]
Common Mistakes:
5. A model trained with Adam optimizer is not converging. What is the most likely cause?
medium
Solution
Step 1: Identify common issues with Adam.
Adam can be sensitive to high learning rates, causing divergence.Step 2: Eliminate less likely causes.
Adam handles non-convex problems well, and batch size/weight decay are less likely to cause non-convergence.Final Answer:
Option B -> Option BQuick Check:
High lr can cause Adam to diverge. [check]
Hint: High lr can cause Adam to diverge. [check]
Common Mistakes:
