Skip to content
New issue

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

Possible bug:It may be a version problem but i cant fix it #7

Open
yanglin-code opened this issue Jun 8, 2022 · 1 comment
Open

Comments

@yanglin-code
Copy link

yanglin-code commented Jun 8, 2022

Hi,the first point cause indexerror and it may be just a version problem with numpy or it is possible that there is some error
Snipaste_2022-06-08_10-57-46
,and the second point , does s mean state and a mean action?

  1. expected_value = rewards_expanded[start:end, :] + gamma * values_tmp
  2. return sum([P_s1_s_a * (self.mdp.get_reward_sas(s, a, s1) + self.gamma * self.values[s1])
@Charlesyyun
Copy link

How do you fix the first error?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants