A simplified version of Cliffworld in an OpenAI Gym Environment
Project description
gym-simple-cliffworld
A simplified version of Cliffworld in an OpenAI Gym Environment.
This is a project by Winder Research, a Cloud-Native Data Science consultancy.
Installation
pip install gym-simple-cliffworld
Usage
import gym
import gym_simple_cliffworld
env = gym.make("SimpleCliffworld-v0")
episode_over = False
rewards = 0
while not episode_over:
state, reward, episode_over, _ = env.step(env.action_space.sample())
print(state, reward)
rewards += reward
print("Total reward: {}".format(rewards))
Credits
Gitlab icon made by Payungkead from www.flaticon.com.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for gym-simple-cliffworld-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 90639280554ad9b576b38f4ff7dd09f600c81c2649149545417ba829c5b423a7 |
|
MD5 | ec8e4f17960da71dc7460366a333dd81 |
|
BLAKE2b-256 | 879d9a2978d8bfbfcc2e3b8f34e5cd04547a34b077338317205cc90a7194bde6 |
Close
Hashes for gym_simple_cliffworld-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 237be1c7ecff7779eecf1166efae7fec3ed0b840b6d593ce6455776b1fcae47b |
|
MD5 | f9ecb9005e936e445392bb04f0835a1d |
|
BLAKE2b-256 | a197766c1e6895e48886bf408d3d00dadec6b431544ade5b98693a98e543a3f2 |