Tid Marital Income Defaulted Borrower ? 2 1 2. 3 4 ? Home Owner Yes No No Yes No No Yes No No No 2 2 6 7 8 9 10 Single 1
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Tid Marital Income Defaulted Borrower ? 2 1 2. 3 4 ? Home Owner Yes No No Yes No No Yes No No No 2 2 6 7 8 9 10 Single 1
Question 2: Suppose that using the greedy algorithm, two different decision trees are created below. Now for the test data shown in the table: a) Get the judgment score for each data record using the tree a. b) Find the number of comparisons to be made for each data record. Also get an aggregate comparison of all data records. c) Repeat the above for tree b. d) The sum of the number of comparisons in which trees a or b is less? Marital Single Divorced HOwner Married نوع Yes NO NO HOwner NO Marital Single, Divorced Yes No Married NO Income <80K Income <BOK > BOK > BOK NO YES Yes NO a 2
Tid Marital Income Defaulted Borrower ? 2 1 2. 3 4 ? Home Owner Yes No No Yes No No Yes No No No 2 2 6 7 8 9 10 Single 125K Married 100K Single 70K Married 120K Divorced 95K Married 60K Divorced 220K Single 85K Married 75K Single 90K 2 2 2 2 ?