# NPTEL Introduction To Machine Learning – IITKGP Week 2 Assignment Answers 2024

## NPTEL Introduction To Machine Learning – IITKGP Week 2 Assignment Answers 2024

1. In a binary classification problem, out of 30 data points 10 belong to class I and 20 belong
to class Il. What is the entropy of the data set?

A. 0.97
B. 0
C. 0.91
D. 0.67

`Answer :- Click Here`

2. Which of the following is false?

A. Bias is the true error of the best classifier in the concept class
B. Bias is high if the concept class cannot model the true data distribution well
C. High bias leads to overfitting

`Answer :- Click Here`

3. Decision trees can be used for the problems where

1. the attributes are discrete valued.
2. the attributes are categorical.
3. the attributes are numeric valued.

A. 1 only
B. 1 and 2 only
C. 1,2 and 3

`Answer :- `

4.

`Answer :- Click Here`

5.

`Answer :- `

6. What is true for Stochastic Gradient Descent?

A. In every iteration, model parameters are updated based on multiple training
samples.
B. In every iteration, model parameters are updated based on one training sample
C. In every iteration, model parameters are updated based on all training samples
D. None of the above

`Answer :- `

7. The entropy of the entire dataset is

A. 0.5
B. 1
C. 0
D. 0.1

`Answer :- Click Here`

8. Which attribute will be the root of the decision tree (if information gain is used to create
the decision tree) and what is the information gain due to that attribute?

A. Green, 0.45
B. Legs, 0.4
C. Height, 0.8
D. Smelly,0.7

`Answer :- `

9. In Linear Regression the output is:

A. Discrete
B. Continuous and always lies in a finite range
C. Continuous
D. May be discrete or continuous

`Answer :- `

10. Identify whether the following statement is true or false?
“Overfitting is more likely when the set of training data is small”

A. True
B. False

`Answer :- Click Here`