第12章最適化アルゴリズム
12.5.7. Exercises12.5.7 練習問題
- Modify the batch size and learning rate and observe the rate of decline for the value of the objective function and the time consumed in each epoch.
英語のヒント
バッチの大きさと学習率を変え、目的関数の値の下がる速さと、各エポックで消費される時間を観察せよ。 - Read the MXNet documentation and use the
Trainerclassset_learning_ratefunction to reduce the learning rate of the minibatch stochastic gradient descent to 1/10 of its previous value after each epoch.英語のヒント
MXNetのドキュメントを読み、Trainerクラスのset_learning_rate関数を使って、各エポックの後に、ミニバッチ確率的勾配降下法の学習率をその前の値の1/10に下げよ。 - Compare minibatch stochastic gradient descent with a variant that actually samples with replacement from the training set. What happens?
英語のヒント
ミニバッチ確率的勾配降下法を、訓練集合から実際に復元抽出する変種と比べよ。何が起こるか。 - An evil genie replicates your dataset without telling you (i.e., each observation occurs twice and your dataset grows to twice its original size, but nobody told you). How does the behavior of stochastic gradient descent, minibatch stochastic gradient descent and that of gradient descent change?
英語のヒント
意地悪な精霊が、あなたに言わずにデータセットを複製する(つまり、各観測が2回ずつ現れ、データセットは元の2倍の大きさになるが、誰もあなたに教えなかった)。確率的勾配降下法、ミニバッチ確率的勾配降下法、勾配降下法のふるまいはどう変わるか。