Question: Construct by hand. Consider the data in Table 1. The target variable is Salary. We want to apply the algorithm C4.5 to develop a Decision
Construct by hand.

Consider the data in Table 1. The target variable is "Salary". We want to apply the algorithm C4.5 to develop a Decision Tree. We must start by categorizing numerical values, as needed by the algorithm. Start by discretizing salary as follows: Less than $35,000, Level 1 $35,000 to less than $45,000, Level 2 $45,000 to less than $55,000, Level 3 Above $55,000, Level 4. Table 1: Records Age 45 25 33 35 Occupation Service Service Service Management Management Management Management Sales Sales Staff Staff Gender female male male male female male female female male female male Salary $ 48,000.00 $ 25,000.00 $ 35,000.00 $ 45,000.00 $ 65,000.00 $ 45,000.00 $ 70,000.00 $ 50,000.00 $ 40,000.00 $ 40,000.00 $ 25,000.00 26 45 40 30 50 25 a. Construct b hand a Classification decision tree based on algorithm C4.5 (see Classification by Decision Tree handout in the 3/2 folder in the Lectures tab) to classify salary based on the other variables. Please show all work as you follow the example presented in the handout. Consider the data in Table 1. The target variable is "Salary". We want to apply the algorithm C4.5 to develop a Decision Tree. We must start by categorizing numerical values, as needed by the algorithm. Start by discretizing salary as follows: Less than $35,000, Level 1 $35,000 to less than $45,000, Level 2 $45,000 to less than $55,000, Level 3 Above $55,000, Level 4. Table 1: Records Age 45 25 33 35 Occupation Service Service Service Management Management Management Management Sales Sales Staff Staff Gender female male male male female male female female male female male Salary $ 48,000.00 $ 25,000.00 $ 35,000.00 $ 45,000.00 $ 65,000.00 $ 45,000.00 $ 70,000.00 $ 50,000.00 $ 40,000.00 $ 40,000.00 $ 25,000.00 26 45 40 30 50 25 a. Construct b hand a Classification decision tree based on algorithm C4.5 (see Classification by Decision Tree handout in the 3/2 folder in the Lectures tab) to classify salary based on the other variables. Please show all work as you follow the example presented in the handout