XinJingHao / Q-learning

An implementation of Q-learning

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Q-learning

A concise implementation of Q-learning for CliffWalking.

Dependencies

gymnasium==0.29.1 
numpy==1.26.1  
tensorboard==2.15.1

python==3.11.5

How to use my code

Just run

python main.py

Visualize the training curve

You can use the tensorboard to visualize the training curve.

Other RL algorithms by Pytorch can be found here.

About

An implementation of Q-learning

License:MIT License


Languages

Language:Python 100.0%