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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gym-simple-cliffworld-0.1.0.tar.gz.
File metadata
- Download URL: gym-simple-cliffworld-0.1.0.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.3 CPython/3.7.7 Linux/4.19.78-coreos
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
90639280554ad9b576b38f4ff7dd09f600c81c2649149545417ba829c5b423a7
|
|
| MD5 |
ec8e4f17960da71dc7460366a333dd81
|
|
| BLAKE2b-256 |
879d9a2978d8bfbfcc2e3b8f34e5cd04547a34b077338317205cc90a7194bde6
|
File details
Details for the file gym_simple_cliffworld-0.1.0-py3-none-any.whl.
File metadata
- Download URL: gym_simple_cliffworld-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.3 CPython/3.7.7 Linux/4.19.78-coreos
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
237be1c7ecff7779eecf1166efae7fec3ed0b840b6d593ce6455776b1fcae47b
|
|
| MD5 |
f9ecb9005e936e445392bb04f0835a1d
|
|
| BLAKE2b-256 |
a197766c1e6895e48886bf408d3d00dadec6b431544ade5b98693a98e543a3f2
|