rlTable using multiple element in rlFiniteSetSpec

7 vues (au cours des 30 derniers jours)
ricky C
ricky C le 5 Mar 2020
Modifié(e) : Jpk le 20 Jan 2022
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?

Réponses (1)

Anh Tran
Anh Tran le 27 Mar 2020
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 commentaire
Jpk
Jpk le 20 Jan 2022
Modifié(e) : Jpk le 20 Jan 2022
Hi has this limitation been corrected by any chanche in 2021b?

Connectez-vous pour commenter.

Catégories

En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange

Produits


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by