Answered step by step
Verified Expert Solution
Question
1 Approved Answer
You have been provided data on five variables, A through D, and Target.. The variables, A through D, are being used to predict the variable,
You have been provided data on five variables, A through D, and Target.. The variables, A through D, are being used to predict the variable, Target (Positive or Negative). You need to identify the order in which variable(s) should be used (based on their Gini Index and Gini Gain) for developing the tree to predict Target. Show your calculations. Since variables, A through D, are numerical variables, you would use the following criteria to convert them into categories: A B D Case # 1 3.4 1.9 2 4.8 5 5 0.2 1.2 0.2 3 4 1.6 1.6 1.5 1.4 1.6 1.6 5 6 Two categories for A: Two categories for B: Two categories for C: Two categories for D: = 5 High >= 3 High >= 4.2 High >= 1.4 High 7 3 3.4 3.5 3.4 3.2 3.1 3.4 3.2 3.2 3.1 2.3 8 1.5 5.2 5.2 4.7 4.8 5.4 7 6.4 6.9 5.5 6.5 5.7 6.3 4.9 9 Target positive positive positive positive positive positive positive positive negative negative negative negative negative negative negative negative 0.2 0.2 0.2 0.2 0.4 1.4 1.5 1.5 1.3 1.5 1.3 1.6 10 4.7 4.7 4.9 Show your calculations and steps. 11 12 4 2.8 4.6 13 14 15 16 2.8 3.3 4.5 4.7 3.3 2.4 1 You have been provided data on five variables, A through D, and Target.. The variables, A through D, are being used to predict the variable, Target (Positive or Negative). You need to identify the order in which variable(s) should be used (based on their Gini Index and Gini Gain) for developing the tree to predict Target. Show your calculations. Since variables, A through D, are numerical variables, you would use the following criteria to convert them into categories: A B D Case # 1 3.4 1.9 2 4.8 5 5 0.2 1.2 0.2 3 4 1.6 1.6 1.5 1.4 1.6 1.6 5 6 Two categories for A: Two categories for B: Two categories for C: Two categories for D: = 5 High >= 3 High >= 4.2 High >= 1.4 High 7 3 3.4 3.5 3.4 3.2 3.1 3.4 3.2 3.2 3.1 2.3 8 1.5 5.2 5.2 4.7 4.8 5.4 7 6.4 6.9 5.5 6.5 5.7 6.3 4.9 9 Target positive positive positive positive positive positive positive positive negative negative negative negative negative negative negative negative 0.2 0.2 0.2 0.2 0.4 1.4 1.5 1.5 1.3 1.5 1.3 1.6 10 4.7 4.7 4.9 Show your calculations and steps. 11 12 4 2.8 4.6 13 14 15 16 2.8 3.3 4.5 4.7 3.3 2.4 1
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started