Practice
Solution
Step 1: Identify the cost concern.
False positives are costly, so we need to minimize them.Step 2: Choose the metric that minimizes false positives.
Precision is the metric that focuses on minimizing false positives.Final Answer:
Option A -> Option AQuick Check:
Precision minimizes false positives. [OK]
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]
Solution
Step 1: Identify LSTM-specific issues.
Incorrect initialization of forget gate biases can lead to vanishing gradients.Step 2: Eliminate wrong options.
Too many layers can cause vanishing gradients, but it's not LSTM-specific. High learning rates cause exploding gradients, and dropout affects overfitting, not gradient flow.Final Answer:
Option A -> Option AQuick Check:
Forget gate bias affects gradient flow. [OK]
Solution
Step 1: Identify the need for user feedback.
When user feedback is critical, capturing real interactions is essential.Step 2: Evaluate the suitability of each approach.
Offline evaluation, because it allows for controlled experiments. is incorrect because controlled experiments do not capture real-time feedback. Offline evaluation, because it is faster and less resource-intensive. is incorrect because speed and resource usage do not address feedback needs. Online evaluation, because it avoids overfitting to historical data. is partially correct but does not emphasize feedback.Final Answer:
Option B -> Option BQuick Check:
Real feedback needs online evaluation. [OK]
Solution
Step 1: Consider optimizer efficiency.
Adam combines the benefits of both AdaGrad and RMSProp, leading to faster convergence.Step 2: Evaluate resource constraints.
Adam is computationally efficient and converges faster than SGD with momentum and AdaGrad.Final Answer:
Option A -> Option AQuick Check:
Adam is efficient for limited resources. [check]
