プリンキピア

第4章分類のための線形ニューラルネットワーク

4.3.4. Exercises4.3.4 練習問題

  1. Denote by Lv the validation loss, and let Lvq be its quick and dirty estimate computed by the loss function averaging in this section. Lastly, denote by lvb the loss on the last minibatch. Express Lv in terms of Lvq, lvb, and the sample and minibatch sizes.
    英語のヒント
    検証損失をLvで表し、この節の損失関数の平均のとり方で計算した、その手っ取り早い推定値をLvqとする。最後に、最後のミニバッチでの損失をlvbで表す。Lvを、Lvq、lvb、そして標本とミニバッチの大きさを使って表せ。
  2. Show that the quick and dirty estimate Lvq is unbiased. That is, show that E[Lv]=E[Lvq]. Why would you still want to use Lv instead?
    英語のヒント
    手っ取り早い推定値Lvqが不偏であることを示せ。つまり、E[Lv]=E[Lvq]であることを示せ。それでもなお、代わりにLvを使いたくなるのはなぜか。
  3. Given a multiclass classification loss, denoting by l(y,y′) the penalty of estimating y′ when we see y and given a probabilty p(y∣x), formulate the rule for an optimal selection of y′. Hint: express the expected loss, using l and p(y∣x).
    英語のヒント
    多クラス分類の損失が与えられ、yを見たときにy′と推定することの罰をl(y,y′)で表し、確率p(y∣x)が与えられたとき、y′を最適に選ぶ規則を定式化せよ。ヒント:lとp(y∣x)を使って、損失の期待値を表せ。