Unrecognized property 'LearningFrequency' for class 'rl.option.rlPPOAgentOptions'.
1 次查看(过去 30 天)
显示 更早的评论
Hello everbody,
I'm facing the following error:
Unrecognized property 'LearningFrequency' for class 'rl.option.rlPPOAgentOptions'.
It occurs when I enter the following at the command line:
agent.AgentOptions.LearningFrequency=4;
'agent' has been defined before, as a PPO agent, and I'm using R2023b.
Did I miss something about this hyperparameter?
Link to the related documentation: Options for PPO agent - MATLAB - MathWorks Switzerland
Thanks in advance for your help!
Nicolas
0 个评论
采纳的回答
Ayush Aniket
2024-7-18
编辑:Ayush Aniket
2024-7-18
Hi Nicolas,
The error you get is due to the fact that the LearningFrequency property in the rlPPOAgentOptions class was introduced in MATLAB R2024a release. You can check the version history of the class(or any other function) in the Version History section of the documentation page: https://www.mathworks.com/help/reinforcement-learning/ref/rl.option.rlppoagentoptions.html#mw_abe4fee0-4021-4936-a3a1-5bc7c8e85cbc
Also, you can refer the release notes for R2024a for all the new updates to the Reinforcement Learning Toolbox here: https://www.mathworks.com/help/reinforcement-learning/release-notes.html
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Training and Simulation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!