Question: You are given the following training set with three attributes A1, A2 and A3 and one binary output y. Construct the decision tree for the
You are given the following training set with three attributes A1, A2 and A3 and one binary output y. Construct the decision tree for the hypothesis in the training set. You have to show the steps for the calculations of the information gain of each attribute and the complete decision tree to get full points.
| Example | A1 | A2 | A3 | Output y |
| X1 | 1 | 0 | 0 | 0 |
| X2 | 1 | 0 | 1 | 0 |
| X3 | 0 | 1 | 0 | 0 |
| X4 | 1 | 1 | 1 | 1 |
| X5 | 1 | 1 | 0 | 1 |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
