rlTable using multiple element in rlFiniteSetSpec
6 次查看(过去 30 天)
显示 更早的评论
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?
0 个评论
回答(1 个)
Anh Tran
2020-3-27
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!