Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Given a dataset in the form of car leasing eligible. Where there are 4 attributes, namely age, income, employee and credit rating. Make a Decision
Given a dataset in the form of car leasing eligible. Where there are 4 attributes, namely age, income, employee and credit rating. Make a Decision Tree and define the Root Node, Child Node and so on, using Gain and Entropy formulas.
\begin{tabular}{|c|c|c|c|c|c|} \hline 1 & age & income & employee & credit_rating & buy_car \\ \hline 1 & youth & high & no & fair & no \\ \hline 2 & youth & high & no & excellent & no \\ \hline 3 & middle age & high & no & fair & yes \\ \hline 4 & senior & medium & no & fair & yes \\ \hline 5 & senior & low & yes & fair & yes \\ \hline 6 & senior & low & yes & excellent & no \\ \hline 7 & middle age & low & yes & excellent & yes \\ \hline 8 & youth & medium & no & fair & no \\ \hline 9 & youth & low & yes & fair & yes \\ \hline 10 & senior & medium & yes & fair & yes \\ \hline 11 & youth & medium & yes & excellent & yes \\ \hline 12 & middle age & medium & no & excellent & yes \\ \hline 13 & middle age & high & yes & fair & yes \\ \hline 14 & senior & medium & no & excellent & yes \end{tabular}
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