プリンキピア

第3章回帰のための線形ニューラルネットワーク

3.7.6. Exercises3.7.6 練習問題

  1. Experiment with the value of λ in the estimation problem in this section. Plot training and validation accuracy as a function of λ. What do you observe?
    英語のヒント
    この節の推定問題で、λの値を変えて実験せよ。訓練と検証の正解率をλの関数として描け。何がわかるか。
  2. Use a validation set to find the optimal value of λ. Is it really the optimal value? Does this matter?
    英語のヒント
    検証集合を使ってλの最適値を見つけよ。それは本当に最適値か。それは重要か。
  3. What would the update equations look like if instead of ∥𝐰∥2 we used ∑i|wi| as our penalty of choice (ℓ1 regularization)?
    英語のヒント
    罰則として∥𝐰∥2の代わりに∑i|wi|を選んだら(ℓ1正則化)、更新の式はどうなるか。
  4. We know that ∥𝐰∥2=𝐰⊤𝐰. Can you find a similar equation for matrices (see the Frobenius norm in Section 2.3.11)?
    英語のヒント
    ∥𝐰∥2=𝐰⊤𝐰であることはわかっている。行列について似た式を見つけられるか(2.3.11節のフロベニウスノルムを見よ)。
  5. Review the relationship between training error and generalization error. In addition to weight decay, increased training, and the use of a model of suitable complexity, what other ways might help us deal with overfitting?
    英語のヒント
    訓練誤差と汎化誤差の関係を見直せ。重み減衰、訓練を増やすこと、適切な複雑さのモデルを使うことのほかに、過学習に対処するのに役立ちうる方法は何か。
  6. In Bayesian statistics we use the product of prior and likelihood to arrive at a posterior via P(w∣x)∝P(x∣w)P(w). How can you identify P(w) with regularization?
    英語のヒント
    ベイズ統計では、事前分布と尤度の積を使い、P(w∣x)∝P(x∣w)P(w)によって事後分布に至る。P(w)を正則化とどう対応づけられるか。