Skip to content

Commit 8ecebe3

Browse files
committed
Fix
1 parent bfedff3 commit 8ecebe3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

_notes/Public/nlp2.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ $$
121121
우선 Precision, Recall Metric들을 자연어 생성 분야에 적용하는 방법을 살펴보자. 이들은 자연어 생성 분야에서 다음과 같이 정의된다.
122122

123123
$$
124-
\begin{aligned} \text{precision} &= \frac{\text{#(\text{correct words})}}{\text{length of prediction}}\\ \text{recall} &= \frac{\text{#(\text{correct words})}}{\text{length of reference}}
124+
\begin{aligned} \text{precision} &= \frac{\text{\#(correct words)}}{\text{length of prediction}}\\ \text{recall} &= \frac{\text{\#(correct words)}}{\text{length of reference}}
125125
\end{aligned}
126126
$$
127127

@@ -137,7 +137,7 @@ Predicted: <span style="color:#1e81b0">Half</span> as <span style="color:#1e81b0
137137
이때 precision과 recall은 다음과 같다.
138138

139139
$$
140-
\begin{aligned} \text{precision} &= \frac{\text{#(\text{correct words})}}{\text{length of prediction}} = \frac{7}{9} \fallingdotseq 78\% \\ \text{recall} &= \frac{\text{#(\text{correct words})}}{\text{length of reference}} = \frac{7}{10} = 70 \% \end{aligned}
140+
\begin{aligned} \text{precision} &= \frac{\text{\#(correct words)}}{\text{length of prediction}} = \frac{7}{9} \fallingdotseq 78\% \\ \text{recall} &= \frac{\text{\#(correct words)}}{\text{length of reference}} = \frac{7}{10} = 70 \% \end{aligned}
141141
$$
142142

143143
그리고 F1 Score는 다음과 같다.

0 commit comments

Comments
 (0)