Practice
Solution
Step 1: Identify the technique that modifies the loss function.
Focal Loss is designed to focus more on hard-to-classify examples by adjusting the loss function.Step 2: Eliminate wrong options.
Oversampling and undersampling adjust the dataset, not the loss function. Cost-sensitive learning modifies the cost, not the focus on hard examples.Final Answer:
Option D -> Option DQuick Check:
Focal Loss focuses on hard examples. [OK]
Solution
Step 1: Compare K-Means and GMM
K-Means assumes spherical clusters with similar variance, while GMM can handle different shapes and densities.Step 2: Identify the scenario
Clusters with similar variance and spherical shape describes clusters with similar variance and spherical shape, which is ideal for K-Means.Final Answer:
Option D -> Option DQuick Check:
K-Means loves spherical, similar variance clusters [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: Consider high-dimensional effects
In high dimensions, distance metrics often become less effective.Step 2: Eliminate wrong options
The model has too few neighbors. is incorrect as increasing neighbors may not help. The dataset is too small. is wrong because size isn't the main issue. The model is overfitting due to too many neighbors. is incorrect as overfitting is less likely with many neighbors.Final Answer:
Option B -> Option BQuick Check:
High dimensions dilute distance metrics. [OK]
Solution
Step 1: Consider the No Free Lunch Theorem
The theorem implies that model performance is dataset-specific.Step 2: Eliminate wrong options
The model is too simple for the new data. is incorrect because simplicity isn't the main issue. The model was overfitted to the training dataset. is incorrect because overfitting affects generalization, but the core issue is distribution change. The model's hyperparameters were not optimized. is incorrect because hyperparameter tuning doesn't address distribution differences.Final Answer:
Option A -> Option AQuick Check:
Performance varies with data distribution. [OK]
