Question: Assignment 4 : Decision Tree Induction ( 6 0 points Max ) Instructions: This is an individual assignment, and the solutions and answers should be
Assignment : Decision Tree Induction points Max
Instructions: This is an individual assignment, and the solutions and answers should be your own. This is NOT a group assignment. Your primary task is to build decision tree classifiers to predict the outcome. You can type your answers in Word and submit the document as Word or pdf Or you can write your answers by hand on blank sheets, scan them into a pdf document the pdf document should show your answers clearly without any smudging or shading issues Name your document as DTusername", where username is your Ninernet username. Upload the saved document through Canvas assignment.
Credit card companies consider various factors when they decide to approve or decline credit card applications. The following table has data from a sample of customers. The attribute in the last column is the target and columns are the four factors that affect credit card approval.
begintabularllllll
hline Customer & Credit Score & begintabularl
College
Education
endtabular & Income & Home Owner & begintabularl
Approved
or Not
endtabular
hline & Medium & Yes & Medium & No & Yes
hline & High & No & Medium & Yes & Yes
hline & Low & Yes & High & No & No
hline & High & Yes & Low & Yes & Yes
hline & High & Yes & High & Yes & Yes
hline & Low & No & Low & No & No
hline & Medium & No & Medium & No & No
hline & Medium & Yes & High & No & Yes
hline & Low & Yes & Medium & No & No
hline & High & No & High & Yes & Yes
hline & High & Yes & Medium & Yes & Yes
hline & Medium & No & Medium & Yes & Yes
hline & Medium & No & High & No & Yes
hline & Low & Yes & Medium & No & No
hline & High & Yes & High & Yes & No
hline
endtabular
Based on the training data set above, create two decision tree using the following two measures we learned in class gain ratio and gini index as attribute selection measure. You must show all your works, including the formulas, computations, and the decision trees, to get full credit. Do not submit an Excel file with your computations. If solving by pen & paper, scan your solutions clearly and submit them. Unclear or blurry solutions will not be graded.
Overfitting is allowed for this problem. Hence, keep splitting unless the leaf node becomes pure or gain ratio or reduction in Gini index becomes negative. Also, only binary splits are allowed, ie if there are more than two unique values for an attribute, use different combinations for each side of the binary split.
End of Assignment
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
