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. In the context of agent system design, which component is primarily responsible for deciding the sequence of actions to achieve a goal?
easy
Solution
Step 1: Identify the role of each component
Planning is responsible for deciding the sequence of actions to achieve a goal.Step 2: Eliminate wrong options
Memory Architecture is for storing information, Tool Use is for executing actions, and Data Preprocessing is unrelated to action sequencing.Final Answer:
Option B -> Option BQuick Check:
Planning = action sequence decision [OK]
Hint: Planning decides action sequences. [OK]
Common Mistakes:
3. In the context of a 'People You May Know' feature using graph-based link prediction, which algorithm is most suitable for predicting new connections based on node similarity?
easy
Solution
Step 1: Identify the task.
The task is to predict new connections based on node similarity in a graph.Step 2: Evaluate options.
K-Means Clustering (A) is for clustering, not link prediction. Collaborative Filtering (B) is for recommendation systems, not graph-based predictions. Decision Trees (D) are for classification/regression, not graph-based link prediction. Node2Vec (C) is designed for learning node embeddings in graphs, making it suitable for link prediction.Final Answer:
Option A -> Option AQuick Check:
Node2Vec for graph embeddings. [OK]
Hint: Node2Vec is for graph embeddings. [OK]
Common Mistakes:
4. When transitioning from logistic regression to DLRM for CTR prediction, which trade-off is most critical to consider?
medium
Solution
Step 1: Identify key differences between models.
DLRM offers higher accuracy but is less interpretable than logistic regression.Step 2: Eliminate wrong options.
Training speed (B) and preprocessing time (D) are less critical than understanding model decisions. Feature engineering (C) is important but not the primary trade-off.Final Answer:
Option A -> Option AQuick Check:
DLRM: accuracy vs. interpretability trade-off. [OK]
Hint: DLRM: accuracy vs. interpretability trade-off. [OK]
Common Mistakes:
5. In a recommendation system designed to avoid filter bubbles, what is a likely failure mode if the diversity re-ranking layer is not properly tuned?
medium
Solution
Step 1: Identify the impact of poor tuning
Poor tuning can lead to irrelevant recommendations, reducing user engagement.Step 2: Eliminate wrong options
Increased computational cost (A) and latency (D) are technical issues, not directly related to user engagement. Overfitting (C) is more about personalization than diversity.Final Answer:
Option A -> Option AQuick Check:
Poor tuning reduces engagement due to irrelevant content [OK]
Hint: Poor tuning reduces engagement due to irrelevant content [OK]
Common Mistakes:
