How to improve the result of Reinforcement learning (RL)?
3 views (last 30 days)
Show older comments
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 Comments
Answers (0)
See Also
Categories
Find more on Sequence and Numeric Feature Data Workflows in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!