Effacer les filtres
Effacer les filtres

Unrecognized property 'LearningFrequency' for class 'rl.option​.rlPPOAgen​tOptions'.

16 vues (au cours des 30 derniers jours)
Nicolas CRETIN
Nicolas CRETIN le 18 Juil 2024 à 14:52
Commenté : Nicolas CRETIN le 18 Juil 2024 à 17:51
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?
Thanks in advance for your help!
Nicolas

Réponse acceptée

Ayush Aniket
Ayush Aniket le 18 Juil 2024 à 16:41
Modifié(e) : Ayush Aniket le 18 Juil 2024 à 16:42
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

Plus de réponses (0)

Catégories

En savoir plus sur Agents dans Help Center et File Exchange

Produits


Version

R2023b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by