Skip to content

Commit 5ff54cd

Browse files
committed
Fix: rendering and design
1 parent 6614541 commit 5ff54cd

2 files changed

Lines changed: 4 additions & 9 deletions

File tree

_notes/Public/nlp2.md

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

123123
$$
124-
\begin{aligned}
125-
\text{precision} &= \frac{\text{#(correct words)}}{\text{length of prediction}}\\
126-
\text{recall} &= \frac{\text{#(correct words)}}{\text{length of reference}}
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}}
127125
\end{aligned}
128126
$$
129127

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

141139
$$
142-
\begin{aligned}
143-
\text{precision} &= \frac{\text{#(correct words)}}{\text{length of prediction}} = \frac{7}{9} \fallingdotseq 78\% \\
144-
\text{recall} &= \frac{\text{#(correct words)}}{\text{length of reference}} = \frac{7}{10} = 70 \%
145-
\end{aligned}
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}
146141
$$
147142

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

src/app/[...slug]/page.module.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@
6262
font-size: 1.1rem;
6363
line-height: 1.7;
6464
color: var(--foreground);
65-
max-width: 58ch;
66-
/* Narrower reading area */
65+
max-width: 63ch;
66+
/* Adjusted to average width */
6767
margin: 0 auto;
6868
/* Centers the content block */
6969
}

0 commit comments

Comments
 (0)