A decision tree is being built. An internal node is being evaluated for partitioning on variables A and B. The entropy of the internal node is 0.8. The entropy for each of the variables is as follows:
Variable A: 0.5 -
Variable B: 0.4 -
Which variable will be used to partition the data and what is the information gain?