This is an implementation of an environment to test RL algorithms in showing promotions to users.
For more info on the OpenAi gyms look here: OpenAi gym
And for getting started, have a look here: Getting started with gym
clone this repository, and in the root run the following command:
pip install -e gym-promotions
To run the gym, try out the following code, or have a look at the exercise.py
file:
import gym
env = gym.make('gym_promotions:promotions-v0')
env.reset()
env.render()
for i in range(3):
print(env.step(1))
- Add real data -> currently it uses a small hardcoded dataset
- Add examples of solutions
- Tests?