Practice
Solution
Step 1: Identify the distribution of the data
For normally distributed data, the mean is the best measure of central tendency.Step 2: Eliminate wrong options
Median is better for skewed data, mode for categorical data, and zero imputation can distort the distribution.Final Answer:
Option D -> Option DQuick Check:
Mean for normal distribution [OK]
Solution
Step 1: Consider the structure of RNNs.
RNNs process sequences, and Batch Normalization can disrupt temporal dependencies due to its reliance on batch statistics.Step 2: Evaluate normalization techniques.
Layer Normalization is more suitable as it normalizes across features within each timestep, preserving sequence information.Final Answer:
Option D -> Option DQuick Check:
Layer Norm for RNNs to preserve sequence info. [OK]
Solution
Step 1: Identify symptoms of overfitting
Overfitting occurs when a model performs well on training data but poorly on unseen data.Step 2: Determine the cause
A complex model with too many parameters relative to the data size is a common cause of overfitting.Final Answer:
Option B -> Option BQuick Check:
Complex models overfit small data. [OK]
Solution
Step 1: Identify the best adaptation method.
Some decision tree algorithms, like C4.5, handle categorical features natively.Step 2: Eliminate wrong options.
One-hot encoding can lead to high dimensionality, label encoding can mislead the model, and PCA is not suitable for categorical data.Final Answer:
Option A -> Option AQuick Check:
Use native categorical support in trees. [OK]
Solution
Step 1: Understand the graph dynamics
Dynamic graphs require models that can adapt to changes in nodes and edges.Step 2: Evaluate each approach
Static GCNs and fixed adjacency matrices cannot adapt to changes, and RNNs are not designed for graph structures.Final Answer:
Option A -> Option AQuick Check:
Dynamic GNNs adapt to graph changes. [check]
