Easy way to evaluate / compare the performance of RL algorithm
5 views (last 30 days)
Show older comments
I have a RL agent trained and would like to compare its performance with a dumb agent. I can run simout=sim(env,agent,simOpts) to evaluate the actual agent. But, I would like to compare the simulation results with a couple of dumb agents which always has the same action or random action. Is there any easy way to do this?
Currently, I have a seperate simulink model without RL agent block (replaced with constant block) and logging Observation and rewards using Simulation Data Inspector.
Thanks
Saurav
0 Comments
Answers (1)
Emmanouil Tzorakoleftherakis
on 3 Aug 2020
Why not use a MATLAB Fcn block and implement the dummy agent in there? If you want random/constant actions should be just one line.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!