Observe thoroughly the restaurant_dat.csv dataset and the corresponding decision tree shown in the below figure. Using the entropy E and information gain IG, show by hand calculation how the attributes such as Patrons (Pat), Hungry (Hun), Type (Type), and Fri/Sat (FriSat) are chosen as a root node or decision nodes respectively. Based on your comprehensive E and IG calculations, could we also get other decision tree representations? Please provide analysis on this matter

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

Observe thoroughly the restaurant_dat.csv dataset and the corresponding decision tree shown in the below figure. Using the entropy E and information gain IG, show by hand calculation how the attributes such as Patrons (Pat), Hungry (Hun), Type (Type), and Fri/Sat (FriSat) are chosen as a root node or decision nodes respectively. Based on your comprehensive E and IG calculations, could we also get other decision tree representations? Please provide analysis on this matter.

 

restaurant_dat
Alt
Bar FriSat Hun Pat
Price Rain Res Type
Est
WillWait
Yes No
No
Yes
Some $$$
No
Yes French 0-10
Yes
Yes No
No
Yes
Full
No
No
Thai
30-60 No
No
Yes No
No
Some $
No
No
Burger 0-10
Yes
Yes No
Yes
Yes
Full
Yes
No Thai
10-30 Yes
Yes No
Yes
No
Fll
$$$
No
Yes French >60
No
No
Yes No
Yes
Some $$
Yes
Yes
Italian
0-10
Yes
No
Yes No
No
None $
Yes
No
Burger 0-10
No
No No
No
Yes Some $$
Yes
Yes Thai
0-10
Yes
No Yes Yes
No
Full
Yes
No
Burger >60
No
Yes Yes Yes
Yes
Full
$$$
No
Yes Italian
10-30 No
No No
No
No
None $
No
No
Thai
0-10
No
Yes Yes Yes
Yes
Full
No
No
Burger 30-60 Yes
%24
%24
%24
%24
Transcribed Image Text:restaurant_dat Alt Bar FriSat Hun Pat Price Rain Res Type Est WillWait Yes No No Yes Some $$$ No Yes French 0-10 Yes Yes No No Yes Full No No Thai 30-60 No No Yes No No Some $ No No Burger 0-10 Yes Yes No Yes Yes Full Yes No Thai 10-30 Yes Yes No Yes No Fll $$$ No Yes French >60 No No Yes No Yes Some $$ Yes Yes Italian 0-10 Yes No Yes No No None $ Yes No Burger 0-10 No No No No Yes Some $$ Yes Yes Thai 0-10 Yes No Yes Yes No Full Yes No Burger >60 No Yes Yes Yes Yes Full $$$ No Yes Italian 10-30 No No No No No None $ No No Thai 0-10 No Yes Yes Yes Yes Full No No Burger 30-60 Yes %24 %24 %24 %24
Patrons
None
Some Full
No
Yes
Hungry
Yes
No
Туре
No
French Italian
Thai
Burger
Yes
No
Fri/Sat
Yes
No
Yes
No
Yes
Transcribed Image Text:Patrons None Some Full No Yes Hungry Yes No Туре No French Italian Thai Burger Yes No Fri/Sat Yes No Yes No Yes
Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY