プリンキピア

第17章強化学習

17.3.7. Exercises17.3.7 練習問題

  1. Try increasing the grid size to 8×8. Compared with 4×4 grid, how many iterations does it take to find the optimal value function?
    英語のヒント
    格子の大きさを8×8に増やしてみよ。4×4の格子と比べて、最適な価値関数を見つけるのに何回の反復がかかるか。
  2. Run the Q-learning algorithm again with γ (i.e. “gamma” in the above code) when it equals to 0, 0.5, and 1 and analyze its results.
    英語のヒント
    γ(つまり上のコードの「gamma」)が0、0.5、1に等しいときについて、Q学習のアルゴリズムをもう一度実行し、その結果を分析せよ。
  3. Run the Q-learning algorithm again with ϵ (i.e. “epsilon” in the above code) when it equals to 0, 0.5, and 1 and analyze its results.
    英語のヒント
    ϵ(つまり上のコードの「epsilon」)が0、0.5、1に等しいときについて、Q学習のアルゴリズムをもう一度実行し、その結果を分析せよ。