Unit 8: Supervised Learning - Subjective Questions

ECAP792 • Practice Questions with Detailed Answers

20 questions

1

Define supervised learning and explain the role of labeled data in a classification problem.

2

Explain the general workflow for developing and evaluating a supervised classification model.

3

Distinguish between classification and regression in supervised learning, giving suitable examples.

4

Describe the K-nearest neighbors (KNN) classification algorithm and explain how it predicts the class of a new observation.

5

Derive the Euclidean distance used by KNN and demonstrate its calculation for the points and .

6

Explain how the choice of affects KNN. Discuss underfitting, overfitting, and a suitable method for selecting .

7

Why is feature scaling important for KNN? Explain using an example and name two common scaling methods.

8

Compare Euclidean and Manhattan distance for KNN, and explain when each may be appropriate.

9

Discuss the advantages and limitations of the KNN algorithm.

10

Explain weighted KNN and state why it may perform better than ordinary majority-vote KNN.

11

State Bayes' theorem and explain how it forms the basis of the Naive Bayes classification algorithm.

12

Derive the Naive Bayes decision rule for a feature vector .

13

What is the conditional independence assumption in Naive Bayes? Discuss why the algorithm can still work when this assumption is not completely true.

14

Compare Gaussian, Multinomial, and Bernoulli Naive Bayes, including the type of data for which each variant is suitable.

15

Explain the zero-frequency problem in Naive Bayes and show how Laplace smoothing addresses it.

16

Compare KNN and Naive Bayes with respect to training, prediction, assumptions, preprocessing, and typical applications.

17

Explain -fold cross-validation and describe how it provides an estimate of a classifier's generalization performance.

18

Distinguish between holdout validation, -fold cross-validation, and leave-one-out cross-validation. Discuss their trade-offs.

19

Define the entries of a binary confusion matrix and derive accuracy, precision, recall, specificity, and -score.

20

Why can accuracy be misleading for imbalanced classification? Explain how precision, recall, -score, and ROC-AUC can support better evaluation.