Practice
1. For an ad click-through rate prediction model, which metric is most appropriate to optimize for business value?
easy
Solution
Step 1: Understand business objectives.
CTR prediction models need to balance true positive rate and false positive rate.Step 2: Eliminate wrong options.
Accuracy (A) doesn't account for class imbalance. Precision (B) and Recall (C) focus on one aspect of performance, not the trade-off.Final Answer:
Option C -> Option CQuick Check:
AUC-ROC balances trade-offs in CTR. [OK]
Hint: AUC-ROC balances trade-offs in CTR. [OK]
Common Mistakes:
2. For an anomaly detection system using an Autoencoder, which metric is most appropriate to evaluate its performance?
easy
Solution
Step 1: Identify the key metric for Autoencoders.
Autoencoders are evaluated based on how well they can reconstruct the input data, making reconstruction error a critical metric.Step 2: Eliminate wrong options.
Accuracy is incorrect because accuracy is not informative for imbalanced datasets. Precision and D are more relevant for classification tasks, not reconstruction tasks.Final Answer:
Option B -> Option BQuick Check:
Autoencoder = reconstruction error focus [OK]
Hint: Autoencoder = reconstruction error focus [OK]
Common Mistakes:
3. For a spam detection system, which metric is most appropriate to optimize for?
easy
Solution
Step 1: Understand the importance of balancing precision and recall
F1 Score balances precision and recall, which is crucial in spam detection.Step 2: Eliminate less balanced metrics
Accuracy (A) can be misleading with imbalanced data. Precision (B) and Recall (C) alone don't balance false positives and negatives.Final Answer:
Option A -> Option AQuick Check:
F1 balances precision and recall. [OK]
Hint: F1 balances precision and recall. [OK]
Common Mistakes:
4. In an LLM evaluation system, what failure might occur if the benchmark tasks are not updated regularly?
medium
Solution
Step 1: Consider the impact of outdated benchmarks
Outdated benchmarks can lead to less relevant evaluation results as models evolve.Step 2: Eliminate wrong options
Complexity and human bias are unrelated to benchmark updates, and overfitting is more about training data.Final Answer:
Option B -> Option BQuick Check:
Outdated benchmarks lead to irrelevant results. [OK]
Hint: Outdated benchmarks lead to irrelevant results. [OK]
Common Mistakes:
5. In an HNSW-based vector search system, what is a likely failure mode if the graph's maximum layer is not properly maintained?
medium
Solution
Step 1: Understand the role of the maximum layer.
The maximum layer affects traversal efficiency.Step 2: Eliminate wrong options.
Precision, recall, and memory usage are not directly affected by the maximum layer.Final Answer:
Option C -> Option CQuick Check:
Max layer affects traversal speed. [OK]
Hint: Max layer affects traversal speed. [OK]
Common Mistakes:
