
Looking at the table in the picture above,
$$ H(1/8 , 7/8) = -\sum_x p(x) \log(p(x)) = - \left[ (1/8) \log(1/8) + (7/8) \log (7/8) \right] = 0.16 $$
What am i doing wrong? I can't figure it out. Thanks

Looking at the table in the picture above,
$$ H(1/8 , 7/8) = -\sum_x p(x) \log(p(x)) = - \left[ (1/8) \log(1/8) + (7/8) \log (7/8) \right] = 0.16 $$
What am i doing wrong? I can't figure it out. Thanks
Copyright © 2021 JogjaFile Inc.