The root node can be deducted by calculating gain information from the given student data set. Here by we have to calculate the entropy value first. Dataset S is a set of
50 given values are 15 “First”, 19 “second”, 9 “third” and 7 “Fail” for the attribute ESM.