Question: Consider the following class-labeled training tuples from the Electronics customer database. RID age no fair no income student credit_rating Class: buys_computer 1 1 youth high

Consider the following class-labeled training tuples from the Electronics customer database. RID age no fair no income student credit_rating Class: buys_computer 1 1 youth high no fair no 2 youth high no excellent 3 middle-aged high no fair yes 4 senior medium no fair yes 5 senior low yes yes 6 senior low yes excellent 7 middle aged low yes excellent yes 8 youth medium no fair 9 youth low yes yes 10 senior medium yes yes 11 youth medium yes excellent yes 12 middle-aged medium no excellent yes 13 middle aged high yes fair ves 14 senior medium no excellent no fair fair no What is the gain ratio for the attribute name income? (Hint: calculate Gain Ratio(income))
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
