NPTEL Introduction to Machine Learning Week 6 Assignment Answers 2024 (July-October)

Week 6: Assignment 6 Solutions for Machine Learning Course Description: Find all the answers and explanations for Week 6: Assignment 6 of th...

Week 6: Assignment 6 Solutions for Machine Learning Course

Description:
Find all the answers and explanations for Week 6: Assignment 6 of the "Introduction to Machine Learning" course. This article will provide a detailed breakdown of each question, along with the correct answers and the reasoning behind them. Ideal for students looking to understand the concepts better and prepare for their assignments.

NPTEL Introduction to Machine Learning Week 6 Assignment Answers 2024 (July-October)







Question 1: Entropy for a 90-10 split between two classes is:

  • a) 0.469
  • b) 0.165
  • c) 0.204
  • d) None of the above

Answer: a) 0.469

Reason:
Entropy is a measure of impurity or disorder in a set. For a 90-10 split, the entropy is calculated using the formula:
Entropy=plog2(p)(1p)log2(1p)\text{Entropy} = -p \log_2(p) - (1-p) \log_2(1-p)
Where p=0.9p = 0.9 and 1p=0.11-p = 0.1. Plugging in these values gives an entropy of approximately 0.469.


Question 2: Consider a dataset with only one attribute (categorical). Suppose there are 8 unordered values in this attribute, how many possible combinations are needed to find the best split point for building the decision tree classifier?

  • a) 511
  • b) 120
  • c) 512
  • d) 127

Answer: c) 512

Reason:
For a categorical attribute with 8 unordered values, each value can either be on the left or right side of the split. This leads to 282^8 combinations, minus the case where all values are on one side, resulting in 512 combinations.


Question 3: Having built a decision tree, we are using reduced error pruning to reduce the size of the tree. We select a node to collapse. For this particular node with 8 branches, there are remaining data points with the following outputs: 5, 7, 9, 6, and 8 for the left branch. The other remaining data points along the branches of 3, 6, 5, 11, and 7. What are the values for response_left, response_right?

  • a) 6, 9
  • b) 7, 8, 10, 11, 6
  • c) 5, 8, 9
  • d) None of the above

Answer: Explanation needed to solve this.

COMMENTS

Name

1sem,1,1st Sem,33,1st year,2,2 sem,1,2nd Sem,29,2sem,1,3rd Sem,40,4th sem,9,5th sem,28,6th sem,19,7th sem,8,8th sem,6,About BEU,1,ABOUT MAKAUT,1,aku civil Notes,15,Aku EE/EC Notes,14,aku ME Notes,14,aku notes,45,aku papers,11,aku syllabus,6,All Branch,2,all semester,19,B pharm,1,BAU Question Papers,1,BCA Notes,1,BEU Collage,12,BEU Model Paper Question,3,BEU Notes,10,BEU Organizer,31,BEU Previous Year Questions,2,Beu pyq,4,BEU PYQ Ans,5,BEU syllabus,8,Blogs,1,Btech results,1,Civil Branch,2,Civil Engineering,8,CS Engineering,8,CSE Branch,1,CSE Notes,19,Developing Soft Skills And Personality,13,EC Engineering,10,EE Branch,2,EE Engineering,9,engineering chemistry,5,Gate,1,internship,3,Introduction To Internet Of Things,21,Introduction To Machine Learning,2,iot,1,MAKAUT CE Organizer,6,MAKAUT CSE Organizer,5,MAKAUT ECE Organizer,3,MAKAUT EE Organizer,2,MAKAUT ME Organizer,4,MAKAUT Notes,5,MAKAUT Organizer,8,MAKAUT Question Paper,1,MAKAUT Syllabus,1,make money,6,ME Engineering,19,NPTEL,92,NPTEL COURSE,91,Programming Tutorial,12,Public Speaking,22,PYQ Solution,4,Question Bank,19,Soft Skills,33,Traffic & SEO,9,week 1,7,week 10,3,week 11,3,week 12,3,week 2,10,week 3,6,week 4,7,week 5,5,week 6,4,week 7,4,week 8,4,week 9,3,WEEK1,4,WEEK10,3,WEEK11,3,WEEK12,3,WEEK2,5,WEEK3,6,WEEK4,6,WEEK5,5,WEEK6,3,WEEK7,4,WEEK9,1,ztest,6,
ltr
item
BEU BIHAR : BEU PYQ , Beu previous year question All Courses All Semester Solutions: NPTEL Introduction to Machine Learning Week 6 Assignment Answers 2024 (July-October)
NPTEL Introduction to Machine Learning Week 6 Assignment Answers 2024 (July-October)
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1yknq30nNa_CyAM0AizAwcFnDOeqP_h6C5K8dBbleF-lmwuAKgn1NpaCU07yUvfH_8ptoMIK0-TFBeAVe5Q1YRbk6YDoKOnhkrjpLkeNV7F-RP26zAkfRK8XGM9Ihgz4g4WXh6SWJG3Pr_YyEZuscxhtB_wSL2np8-X2UPG1O5w6mPP9Vn7XBG4XV3WyI/w366-h640/DALL%C2%B7E%202024-08-30%2019.23.08%20-%20A%20digital%20screenshot%20of%20an%20online%20learning%20platform's%20quiz%20page%20for%20a%20course%20titled%20'Introduction%20to%20Machine%20Learning'.%20The%20page%20has%20a%20title%20'Week%206_%20.webp
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1yknq30nNa_CyAM0AizAwcFnDOeqP_h6C5K8dBbleF-lmwuAKgn1NpaCU07yUvfH_8ptoMIK0-TFBeAVe5Q1YRbk6YDoKOnhkrjpLkeNV7F-RP26zAkfRK8XGM9Ihgz4g4WXh6SWJG3Pr_YyEZuscxhtB_wSL2np8-X2UPG1O5w6mPP9Vn7XBG4XV3WyI/s72-w366-c-h640/DALL%C2%B7E%202024-08-30%2019.23.08%20-%20A%20digital%20screenshot%20of%20an%20online%20learning%20platform's%20quiz%20page%20for%20a%20course%20titled%20'Introduction%20to%20Machine%20Learning'.%20The%20page%20has%20a%20title%20'Week%206_%20.webp
BEU BIHAR : BEU PYQ , Beu previous year question All Courses All Semester Solutions
https://www.beubihar.org.in/2024/08/nptel-introduction-to-machine-learning_30.html
https://www.beubihar.org.in/
https://www.beubihar.org.in/
https://www.beubihar.org.in/2024/08/nptel-introduction-to-machine-learning_30.html
true
8161375692651428750
UTF-8
Loaded All Posts Not found any posts VIEW ALL Read More Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS PREMIUM CONTENT IS LOCKED STEP 1: Share to a social network STEP 2: Click the link on your social network Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy Table of Content
×