I have a small confusion on calculating Entropy for Decision Tree .
Sample example has Temperature as one attribute (with Hot, Mild and Cold) and Target Variable - Play Golf (Yes/No).
Now “Hot” temperature has Two entries for “No” and Zero entries for “Yes”.
Then by Entropy 0/2 log(0/2) is this Zero or Infinity?
Will the Entropy be Zero or Infinity??? Also, information Gain will be maximum or minimum?