COMP20008 202
SM Workshop Week 9:
1. Consider the following data set for a binary class problem and consider building a decision tree using this data
Feature A Feature B Class Label TF+ TT+ TT+ TF- TT+ FF- FF- FF- TT- TF-
Copyright By Assignmentchef assignmentchef
Write a formula for the information gain when splitting on feature A.
Write a formula for the information gain when splitting on feature B.
Which feature would the decision tree induction algorithm choose?
2. Load the 2021SM2-Week9 _lab.ipynb jupyter notebook and complete the practical exercises
CS: assignmentchef QQ: 1823890830 Email: [email protected]
Reviews
There are no reviews yet.