/private-RL

Private MDP on Gridworld example

Primary LanguagePythonMIT LicenseMIT

CircleCI

Secret Breakout

This is a simplified version of breakout made specifically for secret agents learning in secret environments.

Install

Requires Python 3.6.

python3 -m venv venv
source venv/bin/activate
pip install --upgrade pip
pip install -r requirements.txt

Basic MDP Examples

source venv/bin/activate
python mdp.py
python sarsa.py

Learn CartPole with Reinforce Agent

python run.py --env_id SecretBreakout-v0 --agent_id reinforce

Random Baseline

python run.py --env_id SecretBreakout-v0 --agent_id random

Run Tests Manually

python -m unittest discover tests

Credits

This is based on the simple Breakout game by Arthur198.