rlTable using multiple element in rlFiniteSetSpec

Hi
I was tring to use Q-table in reinforcement learning toolbox. I have 3 signals in the obesrvation bus and used bus2RLSpec to create an 1x3 rlFiniteSetSpec for the observation. But when I created the rlTable using the following code.
qTable = rlTable(observationInfo,actionInfo);
I have the following error:
Error using rlTable/validateInput (line 131)
Input must be a scalar rlFiniteSetSpec
Error in rlTable (line 51)
validateInput(obj, ObservationInfo)
How should I change my observation object to work with rlTable or it's a limitation?

Respuestas (1)

Anh Tran
Anh Tran el 27 de Mzo. de 2020

0 votos

This is a current limitation with rlTable in MATLAB R2020a. To work with multiple observation channels, you can try a neural network representation instead. See rlQValueRepresentation.

1 comentario

Jpk
Jpk el 20 de En. de 2022
Editada: Jpk el 20 de En. de 2022
Hi has this limitation been corrected by any chanche in 2021b?

Iniciar sesión para comentar.

Productos

Versión

R2019b

Preguntada:

el 5 de Mzo. de 2020

Editada:

Jpk
el 20 de En. de 2022

Community Treasure Hunt

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

Start Hunting!

Translated by