Reset Terminal States in Grid World example using RL Toolbox

1 visualización (últimos 30 días)
Nicholas Schultz
Nicholas Schultz el 18 de Nov. de 2019
Respondida: Asvin Kumar el 30 de Dic. de 2019
Using the Grid World example in the Reinforcement Learning Toolbox, I would like to reset the Terminal States at the end of each episode as well as the Current State (starting location). Would this be possible using the toolbox and if so, how would I code this?

Respuestas (1)

Asvin Kumar
Asvin Kumar el 30 de Dic. de 2019
Among those three ways, you’re looking either for the second or third option.
Both these examples are written for the cart pole environment. Since your requirement is to modify the reset behaviour in a Grid World environment, you will need to modify the properties accordingly. A list of properties of the Grid World is given at https://www.mathworks.com/help/reinforcement-learning/ug/create-custom-grid-world-environments.html. As you will see on the page, the ‘CurrentState’ and ‘TerminalStates’ property are not Read-Only and can therefore be modified in your custom reset function.

Categorías

Más información sobre Fractals en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by