Practice
Solution
Step 1: Identify the role of each component
The message passing mechanism is designed to aggregate information from neighboring nodes in a graph.Step 2: Eliminate wrong options
Activation functions, dropout layers, and batch normalization do not specifically aggregate information from neighboring nodes.Final Answer:
Option C -> Option CQuick Check:
Message passing aggregates neighbor info in GNNs. [check]
Solution
Step 1: Identify the best approach for handling drift.
Periodic model retraining helps adapt to both covariate and concept drift.Step 2: Eliminate wrong options.
Static models (Use a static model trained on historical data.) and single validation sets (Use a single validation set for model evaluation.) don't adapt to drift. Feature scaling (Rely on feature scaling to handle the drift.) doesn't address drift.Final Answer:
Option B -> Option BQuick Check:
Retrain models to adapt to drift [OK]
Solution
Step 1: Identify when dropout is counterproductive
Dropout is a regularization technique that helps prevent overfitting, not underfitting.Step 2: Eliminate wrong options
When the model is overfitting on the training data. is incorrect because dropout is useful for overfitting. When the model is being used for time series forecasting. is incorrect because dropout can be used in time series if applied correctly. When the model has a large number of parameters. is incorrect because dropout is often used in models with many parameters to prevent overfitting.Final Answer:
Option B -> Option BQuick Check:
Dropout not for underfitting. [OK]
Solution
Step 1: Identify methods to combat overfitting
Dropout is a regularization technique that helps prevent overfitting by randomly dropping units during training.Step 2: Eliminate wrong options
Increase the model complexity by adding more layers. increases overfitting risk, Reduce the size of the training dataset. reduces data, worsening generalization, and Use a smaller learning rate. affects convergence speed, not overfitting directly.Final Answer:
Option A -> Option AQuick Check:
Dropout reduces overfitting [OK]
Solution
Step 1: Consider sample size constraints
With small sample sizes, non-parametric tests are more reliable as they do not assume normal distribution.Step 2: Eliminate inappropriate tests
Use a t-test assuming equal variances. assumes equal variances which may not hold. Use a z-test assuming normal distribution. assumes normal distribution, which is unreliable with small samples. Use a chi-squared test for independence. is for categorical data, not model comparison.Final Answer:
Option B -> Option BQuick Check:
Small samples? Use non-parametric tests [OK]
