Skip to main content

A random walk environment for Gymnasium

Project description

Random Walk

The Random Walk Environment is a custom Gymnasium environment that simulates a simple random walk process. The agent starts in a predefined state and moves randomly to adjacent states (left or right) at each timestep. The states are arranged in a row, with terminal states at both ends. The rightmost terminal state rewards the agent with +1, while all other transitions have a reward of 0. The environment is ideal for experiments in reinforcement learning or Markov Reward Processes (MRPs), focusing on stochastic state transitions without actions.

Installation

To install your new environment, run the following commands:

cd random_walk_env
pip install -e .

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

random_walk_env-0.0.1.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

random_walk_env-0.0.1-py2.py3-none-any.whl (3.9 kB view details)

Uploaded Python 2Python 3

File details

Details for the file random_walk_env-0.0.1.tar.gz.

File metadata

  • Download URL: random_walk_env-0.0.1.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for random_walk_env-0.0.1.tar.gz
Algorithm Hash digest
SHA256 2c42ec77d52106e65f708c746ea913ab45d0e839a1b35fe6d544e2a40a77f0e5
MD5 bec009b2d7bf0c43c9d47a5e255f792d
BLAKE2b-256 a7a643ffde938221a5e39dbea12ef45a903cff05e190f4f1e4049b2465dcf8a6

See more details on using hashes here.

File details

Details for the file random_walk_env-0.0.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for random_walk_env-0.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 6ed8485e897d7007787b3c93c8beebcb1d999be192478c562652b80da9611394
MD5 02c5ff4fdb5e6611016ac36b1a8dd85c
BLAKE2b-256 809344631391933ea5007c444bc1ad0e2988efecb0bf6ee07009601b37d01f01

See more details on using hashes here.

Supported by

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