Skip to content

danqiye1/rl-agents

Repository files navigation

Reinforcement Learning Agents

Introduction

This package is a set of RL agents that are specifically built to solve classic RL problems. Current problems include:

  1. CartPole
  2. MountainCar

Installation

To use the agent packages in your python virtual environment, simply activate your virtual environment install it using pip:

pip install .

or pipenv:

pipenv install .

Usage

After installation, RL agents can be imported and experimented on:

import gym
from CartPole.agents import QLearningAgent

env = gym.make("CartPole-v0")
agent = QLearningAgent(env)

For more examples of how to train and test the agent, see the Simulation folder

About

A collection of reinforcement learning agents

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published