Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
!1$
I(xi ) = log 2 # &
" pi %
1/pi is proportional to the
uncertainty of choice xi.
Information is measured in
bits (binary digits) =
number of 0/1s required
to encode choice(s)
! 1 $
I(data) = log 2 #
&
" pdata %
!
$
1
& = 2 bits
e.g., I(heart) = log 2 #
# 13 &
" 52 %
"
%
"N%
1
I(data) = log 2 $
' = log 2 $ ' bits
#M &
# M (1 N ) &
M= 1
data
a heart
not the Ace of spades
a face card (J, Q, K)
the suicide king
pdata
13/52
51/52
12/52
1/52
log2(1/pdata)
2 bits
0.028 bits
2.115 bits
5.7 bits