From: Neil Smith Date: Fri, 18 Mar 2016 13:26:08 +0000 (+0000) Subject: Added letter frequency treemap impage X-Git-Url: https://git.njae.me.uk/?a=commitdiff_plain;h=3d76ab459f6ecbd96e5dae3939830b3a67431cb7;p=cipher-training.git Added letter frequency treemap impage --- diff --git a/slides/caesar-break.html b/slides/caesar-break.html index 090c43f..81a8396 100644 --- a/slides/caesar-break.html +++ b/slides/caesar-break.html @@ -112,6 +112,8 @@ How do we define "closeness"? ## Abstraction: frequency of letter counts +.float-right[![right-aligned Letter frequencies](letter-frequency-treemap.png)] + Letter | Count -------|------ a | 489107 @@ -146,7 +148,7 @@ Letter | i | f | m | m | p | ifmmp ------------|---------|---------|---------|---------|---------|------- Probability | 0.06723 | 0.02159 | 0.02748 | 0.02748 | 0.01607 | 1.76244520 × 10-8 -(Implmentation issue: this can often underflow, so get in the habit of rephrasing it as `\( \sum_i \log p_i \)`) +(Implmentation issue: this can often underflow, so we rephrase it as `\( \sum_i \log p_i \)`) Letter | h | e | l | l | o | hello ------------|---------|---------|---------|---------|---------|------- diff --git a/slides/letter-frequency-treemap.png b/slides/letter-frequency-treemap.png new file mode 100644 index 0000000..256230e Binary files /dev/null and b/slides/letter-frequency-treemap.png differ