NPTEL Data Mining Week 2 Assignment Answers 2024

Join Our WhatsApp Group Join Now
Join Us On Telegram Join Now

NPTEL Data Mining Week 2 Assignment Answers 2024

1. A decision tree can be used to build models for:

A. Regression problems
B. Classification problems
C. Both of the above
D. None of the above

Answer :- For Answer Click Here

2. Entropy value of ____ represents that the data sample is pure or homogenous:

A. 1
B. 0
C. 0.5
D. None of the above.

Answer :- For Answer Click Here

3. Entropy value of _____ represents that the data sample has a 50-50 split belonging to two categories:

A. 1
B. 0
C. 0.5
D. None of the above

Answer :- For Answer Click Here

4. If a decision tree is expressed as a set of logical rules, then:

A. the internal nodes in a branch are connected by AND and the branches by AND
B. the internal nodes in a branch are connected by OR and the branches by OR
C. the internal nodes in a branch are connected by AND and the branches by OR
D. the internal nodes in a branch are connected by OR and the branches by AND

Answer :- 

5. The Decision tree corresponding to the following is? (1 Mark) if C2 then if C1 then A3 else A2 endif else A1, A3 endif

NPTEL Data Mining Week 2 Assignment Answers 2024
NPTEL Data Mining Week 2 Assignment Answers 2024
NPTEL Data Mining Week 2 Assignment Answers 2024

For questions 6-7, consider the following table depicting whether a customer will buy a flat or not. 

NPTEL Data Mining Week 2 Assignment Answers 2024
Answer :- 

6. What is the entropy of the dataset? (1 Mark)

A. 0.50
B. 0.92
C. 1
D. 0

Answer :- For Answer Click Here

7. Which attribute would information gain choose as the root of the tree?

A. GPA
B. Studied
C. Passed
D. None of the above

Answer :- 

8. A chemical company has three options: (i) commercial production, (ii) pilot plant and (iii) no production. The cost of constructing a pilot plant is Rs 3 lacs. If a pilot plant is built, chances of high and low yield are 80% and 20% respectively. In the case of high yield from the pilot plant, there is a 75% chance of high yield from the commercial plant. In the case of low yield from the pilot plant, there is only a 10% chance of high yield from the commercial plant. If the company goes for commercial plant directly without constructing a pilot plant, then there are 60% chance of high yield. The company earns Rs 1,20,00,000 in high yield and loses Rs 12,00,000 in low yield. The optimum decision for the company is:

A. Commercial Production.
B. Pilot plant
C. No Production
D. None of the above.

Answer :- For Answer Click Here