ShangtongZhang / reinforcement-learning-an-introduction

Python Implementation of Reinforcement Learning: An Introduction
MIT License
13.45k stars 4.81k forks source link

discount factor for Chapter 10 #118

Closed roachsinai closed 5 years ago

roachsinai commented 5 years ago

https://github.com/ShangtongZhang/reinforcement-learning-an-introduction/blob/4d8928bb7538d81b818267c983f3fd004ffc9068/chapter10/mountain_car.py#L216

the above code means you just set gamma to 1?

ShangtongZhang commented 5 years ago

yes