Practice
Solution
Step 1: Analyze potential causes of performance issues
Data discrepancies are a common cause of unexpected model performance.Step 2: Eliminate less likely causes
Incorrect dataset usage is more likely than versioning or packaging issues.Final Answer:
Option D -> Option DQuick Check:
Check dataset consistency [OK]
Solution
Step 1: Identify convergence issues
Centroids initialized too close can cause slow convergence or getting stuck in local minima.Step 2: Eliminate other causes
Too many clusters can cause overfitting but not convergence issues. Data normalization affects distance calculation but not convergence. Euclidean distance is standard for K-Means.Final Answer:
Option A -> Option AQuick Check:
Close centroids = slow convergence [OK]
Solution
Step 1: Analyze the metrics
ROC-AUC can be misleading in imbalanced datasets as it doesn't focus on the minority class.Step 2: Eliminate wrong options
Overfitting (A) and underfitting (D) are not directly related to the discrepancy between ROC-AUC and minority class performance. High bias (C) would affect overall performance, not just minority class.Final Answer:
Option A -> Option AQuick Check:
ROC-AUC can mislead in imbalanced datasets. [OK]
Solution
Step 1: Identify symptoms
The model ignoring word order suggests an issue with positional encoding, which provides order information.Step 2: Eliminate wrong options
The model's learning rate is too high is incorrect because learning rate affects convergence, not order. The self-attention mechanism is not capturing dependencies is incorrect because self-attention captures dependencies, not order. The model has too few layers is incorrect because layer count affects capacity, not order.Final Answer:
Option C -> Option CQuick Check:
Order issues? Check positional encoding. [OK]
Solution
Step 1: Consider the nature of gradual shifts.
Gradual shifts require a system that can adapt over time without waiting for performance to drop significantly.Step 2: Evaluate the options.
Use periodic retraining with a fixed schedule regardless of data shifts. is incorrect because a fixed schedule may not align with shifts. Use continual learning without any additional mechanisms. is incorrect because continual learning alone may not handle shifts effectively. Use periodic retraining only when performance drops significantly. is incorrect because waiting for performance drops can lead to suboptimal results.Final Answer:
Option C -> Option CQuick Check:
Adapt to shifts with detection. [OK]
