Reinforcement Learning Exercise 4.3

Exercise 4.3 What are the equations analogous to (4.3), (4.4), and (4.5) for the action-value function q π q_\pi qπ and its successive approximation by a sequence of functions q 0 , q 1 , q 2 , . . . q_0, q_1, q_2, . . . q0,q1,q2,...?

According to the result of exercise 3.17, we have:
Q π ( s , a ) = ∑ s ′ R s , s ′ a P s s ′ a + γ ∑ s ′ [ ∑ a ′ Q π ( s ′ , a ′ ) π ( s ′ , a ′ ) ] P s , s ′ a Q_\pi(s,a) = \sum_{s'} R_{s,s'}^a P_{ss'}^a + \gamma \sum_{s'} \bigl[ \sum_{a'} Q_\pi(s',a') \pi(s',a') \bigr] P_{s,s'}^a Qπ(s,a)=sRs,saPssa+γs[aQπ(s,a)π(s,a)]Ps,sa
Let Q k π Q_k^\pi Qkπ be the previous estimated value of Q π Q_\pi Qπ and substitute it to the right side of the equation. For the next iteration, Q k + 1 π Q_{k+1}^\pi Qk+1π can be:
Q k + 1 π ( s , a ) = ∑ s ′ R s , s ′ a P s s ′ a + γ ∑ s ′ [ ∑ a ′ Q k π ( s ′ , a ′ ) π ( s ′ , a ′ ) ] P s , s ′ a Q_{k+1}^\pi(s,a) = \sum_{s'} R_{s,s'}^a P_{ss'}^a + \gamma \sum_{s'} \bigl[ \sum_{a'} Q_k^\pi(s',a') \pi(s',a') \bigr] P_{s,s'}^a Qk+1π(s,a)=sRs,saPssa+γs[aQkπ(s,a)π(s,a)]Ps,sa

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值