Problem 1Machine learning concepts
50 ptsSummaryMultiple-choice questions on core ML ideas, such as identifying unsupervised tasks, comparing L1 and L2 regularization, and how bias and variance change with model complexity.
- Supervised vs. unsupervisedRegularizationBias–variance
Part 1.1
10 ptsWhich of the following tasks is an example of unsupervised learning?
- A. Predicting house prices given historical data and labeled prices.
- B. Classifying emails as spam or not spam.
- C. Grouping customers based on purchasing behavior without predefined labels.
- D. Predicting whether a tumor is malignant or benign.
- E. Recognizing handwritten digits using labeled images.
Part 1.2
10 ptsConsider two regularized linear regression models trained on the same dataset: Model A uses -regularization. Model B uses -regularization. Both use the same regularization strength .
Which statement is most likely true?
- A. Models A and B have the same number of non-zero weights.
- B. Model A has fewer non-zero weights than Model B.
- C. Model B has fewer non-zero weights than Model A.
- D. Neither model can produce zero weights.
- E. There is no way to know which model has fewer non-zero weights.
Part 1.3
10 ptsWhich of the following best describes the typical behavior of the error components attributed to bias and variance as you increase the complexity of a model (for example, by increasing the degree of a polynomial in a regression model),?
- A. Both bias and variance increase.
- B. Both bias and variance decrease.
- C. Bias and variance remain constant regardless of complexity.
- D. Bias decreases and variance increases.
- E. Bias increases and variance decreases.
Part 1.4
10 ptsUnder which circumstances is the score generally preferred over classification accuracy?
- A. When the dataset is very large.
- B. When the classes are well balanced.
- C. When the model is linear.
- D. When the dataset is highly imbalanced.
- E. When the number of features is large.
Part 1.5
10 ptsWhich of the following statement is correct about Uniform Manifold Approximation and Projection (UMAP)?
- A. UMAP preserves all pairwise distances exactly.
- B. UMAP prioritizes preserving local neighborhood structure over global distances.
- C. UMAP guarantees linear projections of the data.
- D. UMAP minimizes reconstruction error like PCA.
- E. UMAP forces all clusters to have equal size.

