プリンキピア

第17章強化学習

17.2.10. Exercises17.2.10 練習問題

  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. What is the computational complexity of the Value Iteration algorithm?
    英語のヒント
    価値反復のアルゴリズムの計算量はどれだけか。
  3. Run the Value Iteration 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に等しいときについて、価値反復のアルゴリズムをもう一度実行し、その結果を分析せよ。
  4. How does the value of γ affect the number of iterations taken by Value Iteration to converge? What happens when γ=1?
    英語のヒント
    γの値は、価値反復が収束するのにかかる反復の回数にどう影響するか。γ=1のときは何が起こるか。