Practice
Solution
Step 1: Understand metric definitions
Precision measures the ratio of true positives to the sum of true positives and false positives.Step 2: Eliminate wrong options
Accuracy considers all classes, recall focuses on false negatives, and F1-score balances precision and recall.Final Answer:
Option B -> Option BQuick Check:
Minimize false positives = Precision [OK]
Solution
Step 1: Align metrics with business objectives.
User satisfaction is best measured by user engagement, reflecting how users interact with the system.Step 2: Eliminate wrong options.
Precision, recall, and F1 score are technical metrics that don't directly measure user satisfaction.Final Answer:
Option C -> Option CQuick Check:
User satisfaction = engagement. [OK]
Solution
Step 1: Compare model capabilities
Transformers are known for effectively capturing long-range dependencies due to their attention mechanism.Step 2: Eliminate incorrect reasons
Transformers are not necessarily faster for small datasets; RNNs are not more interpretable or require less preprocessing.Final Answer:
Option D -> Option DQuick Check:
Transformers for long-range dependencies. [OK]
Solution
Step 1: Consider the impact of increased query volume.
Increased queries primarily affect components involved in real-time processing.Step 2: Evaluate each component's scalability.
Data preprocessing pipeline: Preprocessing can be parallelized and is not real-time. Training time: Training time is not affected by query volume. Storage for labeled data: Storage is a concern but not a real-time bottleneck. Model inference time: Model inference time directly impacts real-time query handling and is likely to become a bottleneck.Final Answer:
Option C -> Option CQuick Check:
Inference time scales with query volume. [OK]
Solution
Step 1: Analyze scaling impact
As data size increases, candidate generation must process more data, potentially becoming a bottleneck.Step 2: Eliminate wrong options
Ranking stage due to increased number of candidates. is incorrect because the ranking stage processes a fixed number of candidates. Data storage due to increased data volume. is incorrect because data storage is a separate concern. Network bandwidth due to increased data transfer. is incorrect because network bandwidth is not directly related to retrieval stages.Final Answer:
Option B -> Option BQuick Check:
Candidate generation struggles first with more data. [OK]
