1 Star 0 Fork 0

waka1991 / AI-For-Beginners

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
README.md 1.12 KB
一键复制 编辑 原始数据 按行查看 历史
Dmitri Soshnikov 提交于 2022-05-19 15:26 . Fix links

Training Mountain Car to Escape

Lab Assignment from AI for Beginners Curriculum.

Task

Your goal is to train the RL agent to control Mountain Car in OpenAI Environment.

Mountain Car

The Environment

Mountain Car environment consists of the car trapped inside a valley. Your goal is to jump out of the valley and reach the flag. The actions you can perform are to accelerate to the left, to the right, or do nothing. You can observe position of the car along x-axis, and velocity.

Stating Notebook

Start the lab by opening MountainCar.ipynb

Takeaway

You should learn throughout this lab that adopting RL algorithms to a new environment is often quite straightforward, because the OpenAI Gym has the same interface for all environments, and algorithms as such do not largely depend on the nature of the environment. You can even restructure the Python code in such a way as to pass any environment to RL algorithm as a parameter.

马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/waka1991/AI-For-Beginners.git
git@gitee.com:waka1991/AI-For-Beginners.git
waka1991
AI-For-Beginners
AI-For-Beginners
main

搜索帮助

344bd9b3 5694891 D2dac590 5694891