第12章最適化アルゴリズム
12.4. Stochastic Gradient Descent12.4 確率的勾配降下法
In earlier chapters we kept using stochastic gradient descent in our training procedure, however, without explaining why it works. To shed some light on it, we just described the basic principles of gradient descent in Section 12.3. In this section, we go on to discuss stochastic gradient descent in greater detail.
英語のヒント
前の章では、訓練の手続きで確率的勾配降下法を使い続けてきたが、なぜそれがうまくいくのかは説明しなかった。それに光を当てるため、12.3節で勾配降下法の基本的な原理を説明したところである。この節では、続けて確率的勾配降下法をもっと詳しく論じる。
%matplotlib inline
import math
import torch
from d2l import torch as d2l