Practice
Solution
Step 1: Analyze the impact of mean imputation
Mean imputation can introduce bias, especially if data is not normally distributed.Step 2: Eliminate other causes
Variance reduction and overfitting are less likely causes; dataset size remains unchanged.Final Answer:
Option B -> Option BQuick Check:
Bias from mean imputation [OK]
Solution
Step 1: Evaluate computational needs
Semantic segmentation is generally less computationally intensive than instance or panoptic segmentation.Step 2: Eliminate wrong options
Instance segmentation is more detailed and resource-heavy, panoptic combines both, and object detection is not segmentation.Final Answer:
Option C -> Option CQuick Check:
Semantic = Less computation than instance [OK]
Solution
Step 1: Consider the strengths of logistic regression.
Logistic regression is valued for its simplicity and interpretability, making it suitable when these are priorities.Step 2: Eliminate wrong options.
When the dataset is very large and complex. is incorrect because complex models handle large datasets better. When the data has non-linear relationships. is incorrect as logistic regression assumes linearity. When you have a lot of categorical features. is incorrect because logistic regression requires careful handling of categorical features.Final Answer:
Option B -> Option BQuick Check:
Choose logistic regression for simplicity and interpretability [OK]
Solution
Step 1: Identify the need for streaming data handling.
Streaming data requires a strategy that can update samples dynamically.Step 2: Eliminate non-streaming strategies.
Random (A) and Stratified (B) don't handle streaming efficiently. Weighted (D) is for prioritization, not streaming.Final Answer:
Option B -> Option BQuick Check:
Reservoir = Streaming data handling [[check]]
Solution
Step 1: Identify the key trade-off in production.
In production, inference latency is crucial as it affects user experience.Step 2: Eliminate less relevant trade-offs.
Model accuracy vs. training time is more relevant during development, not deployment. Data size vs. interpretability and feature engineering vs. hyperparameter tuning are less critical in production.Final Answer:
Option B -> Option BQuick Check:
Latency impacts user experience in production. [OK]
