diff --git a/test/01-test-answer.txt b/test/01-test-answer.txt index 274d7dc..8317b89 100644 --- a/test/01-test-answer.txt +++ b/test/01-test-answer.txt @@ -9,8 +9,8 @@ coverage = 0.800000 # So the probability for each word is # P(a) = 0.95*0.25 + 0.05*1/1000000 = .23750005 # P(c) = 0.95*0.125 + 0.05*1/1000000 = .11875005 -# P(e) = 0.95*0 + 0.05*1/1000000 = .23750005 -# P() = 0.95*0.25 + 0.05*1/1000000 = .00000005 +# P(e) = 0.95*0 + 0.05*1/1000000 = .00000005 +# P() = 0.95*0.25 + 0.05*1/1000000 = .23750005 # # Thus, the entropy for a single word is: # H(a) = -log_2( .23750005 ) = 2.07400