Practice
1. For a multimodal embedding pipeline, which metric is most appropriate to evaluate the alignment between text and image embeddings?
easy
Solution
Step 1: Understand the evaluation goal.
We need to evaluate the alignment between embeddings, which is best measured by similarity metrics.Step 2: Eliminate wrong options.
Accuracy and Precision are classification metrics, and Mean Squared Error is for regression, not similarity.Final Answer:
Option D -> Option DQuick Check:
Cosine Similarity measures alignment. [OK]
Hint: Cosine Similarity measures alignment. [OK]
Common Mistakes:
2. In the context of a feed ranking system for social media platforms, which component is primarily responsible for determining the order of posts shown to a user?
easy
Solution
Step 1: Identify the role of each component
The ranking algorithm is responsible for determining the order of posts based on relevance and user preferences.Step 2: Eliminate wrong options
Data ingestion pipeline collects data, feature extraction module processes features, and user interface displays the results but does not determine order.Final Answer:
Option A -> Option AQuick Check:
Ranking algorithm orders posts. [OK]
Hint: Ranking algorithm orders posts. [OK]
Common Mistakes:
3. For a learning to rank system, which metric is most appropriate to evaluate the quality of the ranking?
easy
Solution
Step 1: Identify the metric that evaluates ranking quality.
NDCG is specifically designed to evaluate the quality of rankings.Step 2: Eliminate wrong options.
MSE is for regression, precision and recall are for classification, not ranking.Final Answer:
Option A -> Option AQuick Check:
NDCG = ranking quality [OK]
Hint: NDCG = ranking quality [OK]
Common Mistakes:
4. For an ML monitoring platform focused on drift detection, which metric is most appropriate to measure the effectiveness of the drift detection module?
easy
Solution
Step 1: Understand the purpose of drift detection
Drift detection aims to identify changes in data distribution.Step 2: Match metrics to purpose
KL Divergence measures the difference between two probability distributions, making it suitable for drift detection.Final Answer:
Option B -> Option BQuick Check:
Distribution change = KL Divergence [OK]
Hint: Distribution change = KL Divergence [OK]
Common Mistakes:
5. When designing a recommendation system to avoid filter bubbles, which approach is more suitable for ensuring content freshness?
medium
Solution
Step 1: Evaluate each approach's impact on freshness
Time-decay models prioritize recent content, enhancing freshness.Step 2: Eliminate wrong options
Static content lists (A) do not adapt over time. User-based collaborative filtering (C) and popularity-based recommendations (D) may reinforce existing preferences, not freshness.Final Answer:
Option D -> Option DQuick Check:
Time-decay models prioritize recent content [OK]
Hint: Time-decay models prioritize recent content [OK]
Common Mistakes:
