@karthik_Van wrote:
Hi Guys,
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?Please helpImage may be NSFW.
Clik here to view.
Posts: 2
Participants: 2