Easy way to evaluate / compare the performance of RL algorithm
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
Answers (1)
Emmanouil Tzorakoleftherakis
on 3 Aug 2020
1 vote
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.
1 Comment
Saurav Sthapit
on 6 Aug 2020
Edited: Saurav Sthapit
on 6 Aug 2020
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!