Compute the information gain associated with each feature in each class.