Hot answers tagged


Suppose you have data: color height quality ===== ====== ======= green tall good green short bad blue tall bad blue short medium red tall medium red short medium To calculate the entropy for quality in this example: X = {good, medium, bad} x1 = {good}, x2 = {bad}, x3 = {medium} Probability of each x in X: p1 = 1/6 = 0....

Only top voted, non community-wiki answers of a minimum length are eligible