Practice
1. For a delivery forecasting system, which metric is most appropriate to evaluate the accuracy of ETA predictions?
easy
Solution
Step 1: Identify the nature of the prediction task
ETA prediction is a regression task, focusing on continuous values.Step 2: Eliminate wrong options
F1 Score, AUC, and Precision are classification metrics. MAE is suitable for regression tasks.Final Answer:
Option C -> Option CQuick Check:
MAE for regression accuracy. [OK]
Hint: MAE for regression accuracy. [OK]
Common Mistakes:
2. In session-based recommendation systems, which model is most suitable for capturing sequential dependencies in user behavior?
easy
Solution
Step 1: Identify models that capture sequences
RNNs are designed to handle sequential data by maintaining a hidden state that captures information from previous inputs.Step 2: Eliminate non-sequential models
Random Forest, SVM, and KNN do not inherently capture sequential dependencies.Final Answer:
Option B -> Option BQuick Check:
RNNs remember sequences. [OK]
Hint: RNNs remember sequences. [OK]
Common Mistakes:
3. In an ad auction system, if the ads are not being displayed as expected, which failure mode is most likely?
medium
Solution
Step 1: Identify the symptom
If ads are not displayed as expected, latency in fetching user data can cause delays, leading to missed ad opportunities.Step 2: Eliminate wrong options
- Incorrect bid values: Affects ranking, not display.
- Data leakage: Affects model accuracy, not display.
- Overfitting: Affects model performance, not display timing.
Final Answer:
Option B -> Option BQuick Check:
Latency affects ad display timing. [OK]
Hint: Latency affects ad display timing. [OK]
Common Mistakes:
4. In a content-based filtering system, what is a likely failure mode if item embeddings are not updated frequently?
medium
Solution
Step 1: Consider the impact of infrequent updates
Without frequent updates, item embeddings may not reflect recent changes, leading to stale recommendations.Step 2: Eliminate wrong options
A: Computational cost is not directly affected by update frequency. B: Interpretability is unrelated to update frequency. D: Overfitting is more about model complexity than update frequency.Final Answer:
Option C -> Option CQuick Check:
Infrequent updates lead to stale recommendations. [OK]
Hint: Infrequent updates lead to stale recommendations. [OK]
Common Mistakes:
5. A hate speech detection model is suddenly showing a high false negative rate. What is the most likely cause?
medium
Solution
Step 1: Analyze the symptom
A high false negative rate often indicates that the model is not sensitive enough to positive samples.Step 2: Eliminate wrong options
Overfitting would increase false positives, a high learning rate causes instability, and incorrect feature extraction would affect all predictions.Final Answer:
Option A -> Option AQuick Check:
High false negatives = Imbalanced data [OK]
Hint: High false negatives = Imbalanced data [OK]
Common Mistakes:
