How to find Entropy | Information Gain | Gain in terms of Gini Index | Decision Tree Mahesh Huddar

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 ก.ย. 2024

ความคิดเห็น • 9

  • @deepak_maurya1164
    @deepak_maurya1164 ปีที่แล้ว +7

    sir according to gini less gain should be splitting node ans should be A no B

    • @rahulshah3325
      @rahulshah3325 ปีที่แล้ว +1

      He has subtracted weighted gini index from orig Gini index as delta, so the final value is info gain. so he is correct on splitting the attribute based on B.
      .
      Here weighted gini for A attribute = 0.34286
      and weighted gini for B attribute = 0.31668
      Also, if you consider this, we get the same result.

    • @Aryan-kj9vo
      @Aryan-kj9vo ปีที่แล้ว

      @@rahulshah3325 but info gain and weighted gini are 2 entirely different concepts. one is related to impurity and the other related to probability of being misclassified .

  • @gursimrankaur749
    @gursimrankaur749 8 หลายเดือนก่อน

    Hello sir, both entropy and gini are giving separate attributes to prefer for split, the entropy says information gain on entropy is more but gini says on b is more. First of all why are theu contradicting. Secondly which one is a better indicator. Thirdly what is difference, logically what they wish to signify? Are they indicating gajn in different dimensions?

  • @ankiittalwaarin
    @ankiittalwaarin ปีที่แล้ว +1

    HOW TO FIND entropy ,information gain or ginni ndex gain for continous variables

  • @rahulnarayanan5152
    @rahulnarayanan5152 3 ปีที่แล้ว +8

    But gain due to Gini and entropy suggests B and A as best split respectively.. hence my tree is completely dependent upon which gain I use .. why is it not consistent

    • @russelas8373
      @russelas8373 2 ปีที่แล้ว

      Yea i have that doubt too...

    • @anickkhan
      @anickkhan 2 ปีที่แล้ว

      These are two different ways to calculate the gain. So it is expected to get different results based on them. As per your question, yes, the model is dependent upon on the methods.

    • @sachinmoktan3212
      @sachinmoktan3212 2 ปีที่แล้ว +13

      For Gini Index Best Split is for the lowest value. Hence we have to choose A. Choosing B doesn't give the correct results.