Evaluation of the reinforcement learning agent
Show older comments
Hello
I am using the Reinforcement learning toolbox. I trained an rlDQNAgent then I am using it. The training is well done as you can see. 

The problem is, once I wanted to use this trained agent, it always gives me the same action for different observations, I tried with 10000 different observations and the action given is always action number 1.
I don't know what is going wrong
Any suggestions
Answers (1)
Gagan Agarwal
on 4 Mar 2024
0 votes
Hi rr0101
When an rlDQNAgent in the Reinforcement Learning Toolbox of MATLAB always returns the same action for different observations, it could be due to several reasons.
Here are some potential reasons for the behaviour :
- Check the Observations - Ensure observations are normalized or standardized during training.
- Evaluate the Training Process - Investigate potential overfitting or underfitting
- Confirm the possibility of overfitting or underfitting of the network
By checking the above scenarios you should be able to identify and address the issue which is causing the rlDQNAgent to return the same action.
Categories
Find more on Reinforcement Learning Toolbox 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!