Articles → MACHINE LEARNING → Entropy In Machine Learning

Entropy In Machine Learning






Purpose





Formula


Picture showing the formula of calculating entropy


  1. p+​: proportion of positive outcomes.
  2. p−​: proportion of negative outcomes.

Sample Dataset




IDOutlookTemperatureHumidityWindyPlay Tennis
1SunnyHotHighFalseNo
2SunnyHotHighTrueNo
3OvercastHotHighFalseYes
4RainMildHighFalseNo
5RainCoolNormalFalseNo
6RainCoolNormalTrueNo
7OvercastCoolNormalTrueYes
8SunnyMildHighFalseYes





Calculation


Picture showing the calculation of entropy


Picture showing the calculation of entropy



Posted By  -  Karan Gupta
 
Posted On  -  Monday, July 28, 2025

Query/Feedback


Your Email Id
 
Subject
 
Query/FeedbackCharacters remaining 250