Practice
Solution
Step 1: Understand the purpose of each technique
PCA is used for linear dimensionality reduction, UMAP is similar to t-SNE but faster, and LDA is for supervised dimensionality reduction.Step 2: Identify the technique that preserves local structures
t-SNE is specifically designed to preserve local structures in high-dimensional data.Final Answer:
Option A -> Option AQuick Check:
t-SNE for local structures [OK]
Solution
Step 1: Identify the role of each MLflow component
MLflow Registry is designed to store and manage model artifacts.Step 2: Eliminate wrong options
MLflow Tracking logs metrics and parameters, MLflow Projects handles reproducibility, and MLflow Models deals with model packaging.Final Answer:
Option A -> Option AQuick Check:
Registry = Artifacts [OK]
Solution
Step 1: Understand the role of the margin
The margin in SVM is the distance between the decision boundary and the nearest data points from either class.Step 2: Eliminate wrong options
To minimize the number of support vectors is incorrect because the number of support vectors is not minimized. To ensure the model is non-linear is incorrect because the margin itself does not ensure non-linearity. To reduce the dimensionality of the data is incorrect because the margin does not reduce dimensionality.Final Answer:
Option B -> Option BQuick Check:
Margin maximizes boundary distance [OK]
Solution
Step 1: Understand the curse of dimensionality.
In high dimensions, the distance between points becomes less informative.Step 2: Eliminate wrong options.
High-dimensional data increases the risk of overfitting. is about overfitting, not distance. High-dimensional data requires more computational resources. is about computation, not distance. High-dimensional data leads to more complex decision boundaries. is about decision boundaries, not distance.Final Answer:
Option A -> Option AQuick Check:
High dimensions dilute distance meaning. [OK]
Solution
Step 1: Consider the computational cost of polynomial kernels
Polynomial kernels can be computationally expensive, especially with large datasets.Step 2: Eliminate wrong options
When the data is linearly separable is incorrect because a polynomial kernel can still be used but is unnecessary. When the data has non-linear patterns is incorrect because polynomial kernels are suitable for non-linear patterns. When you have a small number of features is incorrect because the number of features doesn't directly affect the choice of kernel.Final Answer:
Option A -> Option AQuick Check:
Avoid polynomial kernel for large datasets [OK]
