Machine learning enthusiasts often venture into the captivating realm of reinforcement learning, seeking to master classic Atari games. This project aims to craft powerful agents proficient in playing and excelling at these cherished games.
Deep-Q Learning is a technique in reinforcement learning, merging deep learning and Q-learning. It empowers agents to make sequential decisions in an environment by estimating the quality of actions through a function that predicts future rewards for each possible action in a given state.
Create and activate a virtual environment to ensure proper isolation of dependencies:
# Create a virtual environment
python -m venv myenv
# Activate the virtual environment (Windows)
myenv\Scripts\activate
# Activate the virtual environment (macOS/Linux)
source myenv/bin/activate
Use pip to install the necessary packages:
pip install gym
pip install numpy
pip install gym[atari]
pip install atari-py
pip install gym[classic_control]
pip install tensorflow
pip install torch torchvision
pip install matplotlib
Clone or download all required files from the repository
Execute the following command:
python -m [game title]