Practice
Solution
Step 1: Identify offline data collection characteristics
Offline data collection involves gathering data that has already been generated and stored, not in real-time.Step 2: Eliminate real-time options
Options A, C, and D involve real-time or near-real-time data collection, which is characteristic of online data collection.Final Answer:
Option D -> Option DQuick Check:
Offline = historical, stored data. [OK]
Solution
Step 1: Identify the technique focused on fairness.
Adversarial debiasing is specifically designed to reduce bias by ensuring equal accuracy across groups.Step 2: Eliminate wrong options.
Data augmentation (A) is for increasing data diversity, cross-validation (C) is for model validation, and gradient boosting (D) is for improving model accuracy, not fairness.Final Answer:
Option B -> Option BQuick Check:
Adversarial debiasing ensures fairness across groups. [OK]
Solution
Step 1: Identify the need to respect temporal order.
Time series data requires maintaining the order of data points.Step 2: Eliminate wrong options.
K-Fold (A) and Stratified K-Fold (B) do not respect temporal order, Leave-One-Out (D) is computationally expensive and doesn't address temporal order.Final Answer:
Option A -> Option AQuick Check:
Time series needs temporal order. [OK]
Solution
Step 1: Understand deployment strategies.
Canary deployment gradually rolls out changes to a small subset, while blue-green switches between two environments.Step 2: Match scenarios to strategies.
Canary is ideal for testing on a small subset (B), blue-green is for zero downtime (A) and quick rollback (D).Final Answer:
Option D -> Option DQuick Check:
Canary = gradual rollout. [OK]
Solution
Step 1: Identify the requirement.
The requirement is for a learning rate that decreases over time.Step 2: Match the requirement to the solution.
A learning rate scheduler with SGD allows for controlled decrease over time.Final Answer:
Option D -> Option DQuick Check:
Scheduler with SGD for decreasing lr. [check]
