We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
main-RL-QiangYe.pdf中2.4.2验证贝尔曼方程的代码compute_q函数中的for循环体不应包括第二句 正确写法:
def compute_q(MDP, V, s, a): S, A, R, P, gamma = MDP q_sa = 0 for s_prime in S: q_sa += get_prob(P, s, a, s_prime) * get_value(V, s_prime) q_sa = get_reward(R, s, a) + gamma * q_sa return q_sa
pdf中写法:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
main-RL-QiangYe.pdf中2.4.2验证贝尔曼方程的代码compute_q函数中的for循环体不应包括第二句
正确写法:
pdf中写法:
The text was updated successfully, but these errors were encountered: