Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gym-simple-cliffworld-0.1.0.tar.gz (3.4 kB view hashes)

Uploaded Source

Built Distribution

gym_simple_cliffworld-0.1.0-py3-none-any.whl (3.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page