Page 1 of 1

Consider a binary classification with the following training data. Each data is described by 3 attributes: Color, Size,

Posted: Fri May 20, 2022 6:18 pm
by answerhappygod
Consider A Binary Classification With The Following Training Data Each Data Is Described By 3 Attributes Color Size 1
Consider A Binary Classification With The Following Training Data Each Data Is Described By 3 Attributes Color Size 1 (172.86 KiB) Viewed 33 times
Consider a binary classification with the following training data. Each data is described by 3 attributes: Color, Size, Shape. Class Example Color Shape Size 1 Red Square Big 2 Blue Square Big 3 Red Square Big 4 Red Circle Big 5 Green Circle Big 6 Blue Circle Small 7 Blue Circle Small 8 Green Square Big +|+|+|+ 1.1 1. Use the entropy method to find the best attribute for the root node. (Hint: Calculate the entropy and information gain) 2. Build a complete tree according to the entropy method. The tree should include the class label and training data in each node. 3. Compute the classification error of each node of the tree.