Practice
Solution
Step 1: Understand the purpose of normalization.
Normalization scales the data to a range of [0, 1] and is useful when data is on different scales.Step 2: Eliminate wrong options.
When the data follows a Gaussian distribution. is incorrect because standardization is preferred for Gaussian distributions. When the data contains outliers. is incorrect because normalization is sensitive to outliers. When the model is sensitive to variance. is incorrect because standardization handles variance better.Final Answer:
Option A -> Option AQuick Check:
Normalize for non-Gaussian, different scales. [OK]
Solution
Step 1: Understand the focus of each metric
MRR is specifically designed to evaluate the rank of the first relevant result, making it ideal for top-ranked results.Step 2: Eliminate wrong options
MAP considers all relevant documents, NDCG focuses on the entire ranking, and Precision at K is not specific to the first relevant result.Final Answer:
Option A -> Option AQuick Check:
MRR focuses on the first relevant result. [OK]
Solution
Step 1: Consider optimizer efficiency.
Adam combines the benefits of both AdaGrad and RMSProp, leading to faster convergence.Step 2: Evaluate resource constraints.
Adam is computationally efficient and converges faster than SGD with momentum and AdaGrad.Final Answer:
Option A -> Option AQuick Check:
Adam is efficient for limited resources. [check]
Solution
Step 1: Consider latency constraints.
Embedded methods integrate feature selection into model training, optimizing for both accuracy and speed.Step 2: Eliminate wrong options.
Filter methods do not consider model performance. Wrapper methods and recursive feature elimination are too slow for real-time systems.Final Answer:
Option B -> Option BQuick Check:
Embedded = fast, integrated. [OK]
Solution
Step 1: Identify the requirements.
Real-time systems require low latency and high throughput.Step 2: Choose the approach that meets these requirements.
Online learning with a streaming framework allows for real-time updates and low latency.Final Answer:
Option A -> Option AQuick Check:
Streaming fits real-time needs. [OK]
