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.
Metadata
Release files for gym-simple-cliffworld 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gym-simple-cliffworld-0.1.0.tar.gz | 3.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gym_simple_cliffworld-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.3 kB
Release files / gym-simple-cliffworld-0.1.0.tar.gz
| Download URL | gym-simple-cliffworld-0.1.0.tar.gz |
|---|---|
| Size | 3.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
90639280554ad9b576b38f4ff7dd09f600c81c2649149545417ba829c5b423a7
|
|
BLAKE2b-256 checksum How to use checksums |
879d9a2978d8bfbfcc2e3b8f34e5cd04547a34b077338317205cc90a7194bde6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.3 CPython/3.7.7 Linux/4.19.78-coreos
|
Release files / gym_simple_cliffworld-0.1.0-py3-none-any.whl
| Download URL | gym_simple_cliffworld-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
237be1c7ecff7779eecf1166efae7fec3ed0b840b6d593ce6455776b1fcae47b
|
|
BLAKE2b-256 checksum How to use checksums |
a197766c1e6895e48886bf408d3d00dadec6b431544ade5b98693a98e543a3f2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.3 CPython/3.7.7 Linux/4.19.78-coreos
|