An open API service indexing awesome lists of open source software.

https://github.com/auralius/sutton-mountain-car

Sutton's Mountain Car Problem with Value Iteration
https://github.com/auralius/sutton-mountain-car

dynamic-programming mountain-car optimization reinforcement-learning sutton value-iteration

Last synced: about 2 months ago
JSON representation

Sutton's Mountain Car Problem with Value Iteration

Awesome Lists containing this project

README

        

[![View Sutton's Mountain Car Problem with Value Iteration on File Exchange](https://www.mathworks.com/matlabcentral/images/matlab-file-exchange.svg)](https://www.mathworks.com/matlabcentral/fileexchange/39290-sutton-s-mountain-car-problem-with-value-iteration)

# Sutton Mountain Car Problem with Value Iteration

Please chek [this pdf](https://github.com/auralius/sutton-mountain-car/blob/main/Mountain%20Car%20Task.pdf) file for the details on the problem.

Please also check [this submission](https://www.mathworks.com/matlabcentral/fileexchange/100149-yadpf-yet-another-dynamic-programming-function), where a more general dynamic programming algorithm is used to sove this problem. You can also find a general implementation of value iteration implemented there.

This is an example for a 400 x 400 grids:

The car is replaced with Universitas Pertamina's logo ;-)

![](https://github.com/auralius/sutton-mountain-car/blob/main/animation.gif)

![](https://github.com/auralius/sutton-mountain-car/blob/main/policy_matrix.png)

![](https://github.com/auralius/sutton-mountain-car/blob/main/results.png)

![](https://github.com/auralius/sutton-mountain-car/blob/main/convergence.png)