Question
Q4. You have to form a rule to find out whether a person will buy a mobile phone or not. You can use the following
Q4. You have to form a rule to find out whether a person will buy a mobile phone or not. You can use the following table for the formation of rule:
Gender | Income | Martal Status | Bought? |
Female | High | Single | No |
Male | Average | Married | No |
Male | Low | Single | No |
Female | High | Married | No |
Male | Average | Divorced | Yes |
Male | Low | Married | No |
Female | High | Divorced | No |
Male | Average | Single | Yes |
Male | Low | Married | No |
Male | Average | Single | Yes |
You need to build a decision tree. Do the following based on the above data: a. Which node would be the splitting root node and why?
b. Find the entropy for various splitting nodes such as Gender, Marital Status, Income level Build a complete decision tree showing all the splitting nodes. You should clearly define the criteria for the selection of a specific splitting node.
Above question is complete
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