Answered step by step
Verified Expert Solution
Question
1 Approved Answer
m m m (i) (a) If p1 +P2 +...+Pm=1, prove the identity { pk p; =1- pk. k=1 j=1,ji k=1 (b) Explain how this identity
m m m (i) (a) If p1 +P2 +...+Pm=1, prove the identity { pk p; =1- pk. k=1 j=1,ji k=1 (b) Explain how this identity can be used to calculate a measure of the effectiveness of a decision tree. A researcher is considering two possible decision trees to classify items of four different types labelled A, B, C and D. A sample of 15 items classified using each of the trees gave the results shown below. YES YES TEST 1 AAAB TEST 4 BBBBD NO NO YES YES TEST 2 BCCC TEST 5 AAAC NO NO YES YES TEST 3 DDDD TEST 6 CC NO NO BBB BDDD TREE 1 TREE 2 (ii) (a) Calculate the Gini index for each tree. (b) Comment on your answers to part (ii)(a)
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