How can I find the template for the predefined environment: "CartPole-Discrete"
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Benjamin Feaster
le 3 Fév 2020
Réponse apportée : Emmanouil Tzorakoleftherakis
le 6 Fév 2020
To load this environment into matlab I can use this line of code:
env = rlPredefinedEnv("CartPole-Discrete")
The problem is, I am trying to make the same exact environment by creating a template using this mathworks link. When I try to load it and train a rl network it has problems plotting each iteration.
I was hoping instead I can find the actual template for these predefined environment to make my life easier.
The end goal is just learning how to make custom environments for my own projects.
0 commentaires
Réponse acceptée
Emmanouil Tzorakoleftherakis
le 6 Fév 2020
The predefined environments are coded in an object-oriented way, so you may not find all the info in one file. I would start with the following:
edit rl.env.CartPoleDiscreteAction
0 commentaires
Plus de réponses (1)
Voir également
Catégories
En savoir plus sur Image Data Workflows dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!