Question: please I need help figuring out step by step how to get: gain(income) gain(student) gain(credit_rating) thank you ;) Draw > 40 yes no Hig medium
Draw > 40 yes no Hig medium fall excellent YED yes 44 Attribute Selection: Information Gain Class P: buys_computer = "yes" Class N: buys_computer "no" H(D)=H(9,5)=-log, log) -0.940 14 H. (D) = H(23) + (40) 5 4 14 14 5 H(3,2)=0.694 14 + 14 14 n (pi, n) 5 H(2,3) means "age 40 2 0.971 age income student credit rating buys computer -:30 high no 30 high no excellent no 31...40 high no fair yes 40 medium no fair yes >40 low yes fair yes >>40 low yes excellent 31.40 low yes excellent yes 30 medium no fair no 30 low yes fair VES 40 medium yes fair 40 32 0.971 age income student credit rating buys computer 40 medium no fair yes >40 low yes fair yes 40 low yes excellent no 31.. 40 low yes excellent yes S30 medium no fair no 40 medium no excellent yes no
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
