moabitcoin / cherry-pytorch

Reinforcement Learning Tutorials & other bedtime stories in PyTorch
MIT License
11 stars 1 forks source link

Remove null state #8

Closed sandhawalia closed 4 years ago

sandhawalia commented 4 years ago

Currently we include null_state to infer terminal or game over state. This can be factored out by using (1 - done) * gamma * Q

sandhawalia commented 4 years ago

addressed https://github.com/moabitcoin/cherry-pytorch/pull/9.