## NPTEL Introduction to Machine Learning Week 3 Assignment Answers 2024

1. For a two-class problem using discriminant functions (δk – discriminant function for class k), where is the separating hyperplane located?

- Where δ1>δ2
- Where δ1<δ2
- Where δ1=δ2
- Where δ1+δ2=1

Answer :-For Answers Click Here

2. Given the following dataset consisting of two classes, A and B, calculate the prior probability of each class.

What are the prior probabilities of class A and class B?

- P(A)=0.5,P(B)=0.5
- P(A)=0.625,P(B)=0.375
- P(A)=0.375,P(B)=0.625
- P(A)=0.6,P(B)=0.4

Answer :-For Answers Click Here

3. In a 3-class classification problem using linear regression, the output vectors for three data points are [0.8, 0.3, -0.1], [0.2, 0.6, 0.2], and [-0.1, 0.4, 0.7]. To which classes would these points be assigned?

- 1, 2, 1
- 1, 2, 2
- 1, 3, 2
- 1, 2, 3

Answer :-

4. If you have a 5-class classification problem and want to avoid masking using polynomial regression, what is the minimum degree of the polynomial you should use?

- 3
- 4
- 5
- 6

Answer :-

5. Consider a logistic regression model where the predicted probability for a given data point is 0.4. If the actual label for this data point is 1, what is the contribution of this data point to the log-likelihood?

- -1.3219
- -0.9163
- +1.3219
- +0.9163

Answer :-

6. What additional assumption does LDA make about the covariance matrix in comparison to the basic assumption of Gaussian class conditional density?

- The covariance matrix is diagonal
- The covariance matrix is identity
- The covariance matrix is the same for all classes
- The covariance matrix is different for each class

Answer :-For Answers Click Here

7. What is the shape of the decision boundary in LDA?

- Quadratic
- Linear
- Circular
- Can not be determined

Answer :-

Answer :-

Answer :-For Answers Click Here