On Github SUNY-Albany-CCI-LearningEncounters / Entropy-And-Information-Part-I
Created by Luis Ibanez
If you pick
a day in the calendar...
What are the chances
that it will be a
What are the chances
that it will be
If you pick
a card from a deck...
What are the chances
that it will be
What are the chances
that it will be
Of an event
with probability
The answer to a
YES / NO
question
Where
YES and NO
are equally likely
Carries
an amount of
Information
The YES answer
has probability
Its amount of
information is...
The NO answer
has probability
Its amount of
information is...
p(Y) = 4/52
p(N) = 48/52
I(Y) = 3.700 bits
I(N) = 0.115 bits
We will get a YES
4 out of 52 times
We will get a NO
48 out of 52 times
4 out of 52 times
We get 3.7 bits
48 out of 52 times
We get 0.115 bits
( 4 x 3.7 bits + 48 x 0.115 bits)
------------------------------------------
52
where
YES and NO
are equally likely
( 1 x 1 bits + 1 x 1 bits)
-------------------------------
2