How to improve the result of Reinforcement learning (RL)?
3 次查看(过去 30 天)
显示 更早的评论
I've recently been trying to use the reinforcement learning toolbox to train a model of a water tank that I built myself.
The model has 2-dimensional inputs and 4-dimensional states.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1650551/image.png)
Reinforcement learning networks have an observational dimension of 8, including: height H(4X1), error e=Href-H(4X1).
The output dimension of action layer is 2, which is used to control the height of tanks.
The rlDDPGAgent is used for training.
The constraint of height is h1,h2=[0,280];h3,h4=[0,100],which is used for condition of isdone.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1650556/image.png)
rewar function
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1650561/image.png)
The results of the training is too poor to control the height of tanks to Href.
I'd appreciate it if someone could answer that question.
The code and the simulink is attached.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1650566/image.png)
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Sequence and Numeric Feature Data Workflows 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!