Practice
Solution
Step 1: Understand the segmentation types
Semantic segmentation labels each pixel according to the object class, without distinguishing instances.Step 2: Eliminate wrong options
Instance segmentation distinguishes between instances, panoptic combines both semantic and instance, and object detection is not segmentation.Final Answer:
Option A -> Option AQuick Check:
Semantic = Class labels only [OK]
Solution
Step 1: Understand the advantage of deep networks
Deep networks can capture hierarchical features, which is crucial for complex tasks.Step 2: Eliminate wrong options
Deep networks can represent any function with fewer parameters. is incorrect because deep networks do not always use fewer parameters. Shallow networks are always faster to train. is incorrect as shallow networks are not always faster. Shallow networks generalize better on all tasks. is incorrect because shallow networks do not always generalize better.Final Answer:
Option B -> Option BQuick Check:
Deep networks capture hierarchies. [OK]
Solution
Step 1: Identify common issues in Word2Vec
A small window size can miss important context, leading to poor embeddings.Step 2: Eliminate wrong options
The vector size is too large, causing overfitting. is less likely as large vector sizes typically increase capacity. The learning rate is too high, causing unstable training. affects stability, not quality. The model is trained on a very large corpus, leading to noise. is incorrect as large corpora usually improve quality.Final Answer:
Option A -> Option AQuick Check:
Small window misses context [OK]
Solution
Step 1: Consider dataset size and dimensionality
Approximate methods are beneficial for large, high-dimensional datasets.Step 2: Eliminate wrong options
When you have a small dataset with low dimensions. is incorrect as exact KNN is feasible. When you need exact results for a critical application. is wrong because approximate methods are not for critical exactness. When computational resources are unlimited. is incorrect as resources are not a constraint.Final Answer:
Option A -> Option AQuick Check:
Approximate for large, high-dimension data. [OK]
Solution
Step 1: Identify the core ML task
Predicting future sales based on historical data aligns well with regression, which is suitable for continuous output prediction.Step 2: Eliminate wrong options
Use clustering to group similar products and predict demand is incorrect because clustering is unsupervised and doesn't predict demand. Use classification to categorize products into high and low demand is incorrect because classification is for discrete categories, not continuous predictions. Use reinforcement learning to dynamically adjust inventory levels is incorrect because reinforcement learning is complex and not necessary for static predictions.Final Answer:
Option A -> Option AQuick Check:
Use regression for continuous predictions like sales. [OK]
