- Consider A Binary Classification With The Following Training Data Each Data Is Described By 3 Attributes Color Size 1 (172.86 KiB) Viewed 32 times
Consider a binary classification with the following training data. Each data is described by 3 attributes: Color, Size,
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Consider a binary classification with the following training data. Each data is described by 3 attributes: Color, Size,
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.