Answered step by step
Verified Expert Solution
Question
1 Approved Answer
We can start from the root node which contains an attribute of Travel cost per km . If the travel cost per km is expensive,
We can start from the root node which contains an attribute of Travel cost per km
If the travel cost per km is expensive, the person uses a car.
If the travel cost per km is the standard price, the person uses a train.
If the travel cost is cheap, the decision tree needs to ask the next question about the gender of the person. If the person is a male, then he uses a bus.
If the gender is female, the decision tree needs to ask again how many cars she owns in her household.
If she has no car, she uses a bus,
Otherwise, she uses the train.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started