A project show how Q-learning works from scratch
基于 OpenAI Gym 的 Q-Learning 算法演示
Download or git clone this repository.
Online demo
A Jupyter notebook is provided to demo online. Link is here.
Python 3.5+
Check you python version with this
python --version
Git clone the code
git clone https://github.com/howl-anderson/q_learning_demo.git
then
cd q_learning_demo
You can train your model or skip this to used pre-trained model
python -m q_learning_demo.train
Use built-in pre-trained model to test model
python -m q_learning_demo.load
- OpenAI Gym - The reinforcement framework used
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
We use SemVer for versioning. For the versions available, see the tags on this repository.
- Xiaoquan Kong - Initial work - howl-anderson
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE.md file for details
- Billie Thompson - For README.md & CONTRIBUTING.md template