How can I find the template for the predefined environment: "CartPole-Discrete"
조회 수: 4 (최근 30일)
이전 댓글 표시
Benjamin Feaster
2020년 2월 3일
답변: Emmanouil Tzorakoleftherakis
2020년 2월 6일
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
채택된 답변
Emmanouil Tzorakoleftherakis
2020년 2월 6일
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
추가 답변 (1개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Image Data Workflows에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!