Texts: Problem 1
Consider the following data set comprised of three binary input attributes (A1, A2, and A3) and one binary output:
Example A1 A2 A3 Output y
X1 0 0 0
X2 0 X3 0
X4 1 X5 1
Use the Learn-Decision-Tree algorithm to learn (generate) a decision tree for these data. You must show the computations (of entropy, remainder, gain, etc.) made to determine the attribute to split at each node.
Problem 2 (Extra Credits)
Prune your tree learned from Problem 1 by Information Gain. Explain reasons for your choices made while pruning.