Skip to content

Commit be6fc51

Browse files
committedApr 21, 2022
Minor update.
1 parent 766f3bc commit be6fc51

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed
 

‎.ruby-version

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.0.1

‎_contents/python/logistic-regression-02.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ $$
8383

8484
$$
8585
\begin{aligned}
86-
A_{ij}^{t+1} &= A_{ij}^t + \alpha \frac{\partial L}{\partial A_{ij}} \\
87-
b_{i}^{t+1} &= b_i^t + \alpha \frac{\partial L}{\partial b_i}
86+
A_{ij}^{t+1} &= A_{ij}^t - \alpha \frac{\partial L}{\partial A_{ij}} \\
87+
b_{i}^{t+1} &= b_i^t - \alpha \frac{\partial L}{\partial b_i}
8888
\end{aligned}
8989
$$
9090

@@ -250,4 +250,4 @@ logs = x - x.max() - np.log(np.sum(e))
250250
print(logs) # -> array([-999., 0., -999.])
251251
```
252252

253-
このように数値計算においては、数学的には等価であっても、計算方法次第で結果が大きく変わる場合があるので、特に分数、指数、対数の計算には注意が必要である。
253+
このように数値計算においては、数学的には等価であっても、計算方法次第で結果が大きく変わる場合があるので、特に分数、指数、対数の計算には注意が必要である。

0 commit comments

Comments
 (0)
Please sign in to comment.