Question: Understanding the Scenario You are tasked with developing a decision tree to help people decide whether to walk or use another mode of transportation for

Understanding the Scenario
You are tasked with developing a decision tree to help people decide whether to walk or use another
mode of transportation for their daily commute. Consider factors such as weather conditions, rush hour,
and distance when making this decision.
Weather conditions may be sunny, rainy and snowy. Rush hours values can be yes/no. Distance values
can be short, medium and long.
Evaluation and Analysis
a) Provide a dataset containing 12 examples. In this dataset, the "Walk" column represents whether the
individual chooses to walk (Yes) or use another mode of transportaon (No) for their daily commute.
This dataset should have 3 examples of when people should walk, while they dont walk in rest of
the examples. (5 points)
b) Draw a decision tree for this scenario by using algorithm LEARN-DECISION-TREE shown in fig 19.5 of
your textbook. Use appropriate atributes and decision nodes to represent each step of the decision-
making process based on the concept of entropy, remainder and informaon gain as discussed in
secon 19.3.3 on page 661-662 og the textbook. (10 points)
c) Explain the condions when the entropy values become 0 and 1 for this scenario. (5 points)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!