udacity / dlnd-issue-reports

5 stars 0 forks source link

Monte Carlo Methods Solutions notebook bug #585

Open pdudero opened 6 years ago

pdudero commented 6 years ago

I think there is a bug in the Monte Carlo Methods jupyter notebook, the function "mc_prediction_q". "Algorithm 9" on the provided cheatsheet indicates that the final assignment to Q(s,a) happens outside of the episode loop. But the notebook has this assignment occurring in the innermost loop