From 28e30019016b057dd5b17ed84396f688892a0f9e Mon Sep 17 00:00:00 2001 From: tomgwasira <47949506+tomgwasira@users.noreply.github.com> Date: Tue, 15 Oct 2024 14:34:07 +0200 Subject: [PATCH] Update evaluation.mdx --- chapters/en/chapter5/evaluation.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/chapters/en/chapter5/evaluation.mdx b/chapters/en/chapter5/evaluation.mdx index 2360a613..88875db8 100644 --- a/chapters/en/chapter5/evaluation.mdx +++ b/chapters/en/chapter5/evaluation.mdx @@ -126,12 +126,12 @@ In our example, we have 1 character substitution, 0 insertions, and 3 deletions. $$ \begin{aligned} CER &= \frac{S + I + D}{N} \\ -&= \frac{1 + 0 + 3}{14} \\ -&= 0.286 +&= \frac{1 + 0 + 3}{17} \\ +&= 0.235 \end{aligned} $$ -Right! We have a CER of 0.286, or 28.6%. Notice how this is lower than our WER - we penalised the spelling error much less. +Right! We have a CER of 0.235, or 23.5%. Notice how this is lower than our WER - we penalised the spelling error much less. ## Which metric should I use?