Quantcast
Viewing all articles
Browse latest Browse all 4448

Calculate Entropy for Decision Tree

@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.
edwisor doubt

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4448

Trending Articles