Skip to main content

Tiny tabular Q-learning helper for Gym environments

Project description

rlmini — tiny reinforcement learning utilities

A minimal, well-documented Python package that implements a small tabular Q-learning helper suitable for Gym environments.

Features

  • q_learning() function: run tabular Q-learning with an OpenAI Gym-compatible environment.
  • Small, dependency-light package: numpy and gymnasium.

Quick start

python -m pip install rlmini
python -c "from rlmini import q_learning; import gymnasium as gym; env=gym.make('FrozenLake-v1', is_slippery=False); q_learning(env, episodes=500)"

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

rlmini-0.1.0.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

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

rlmini-0.1.0-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

File details

Details for the file rlmini-0.1.0.tar.gz.

File metadata

  • Download URL: rlmini-0.1.0.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.6

File hashes

Hashes for rlmini-0.1.0.tar.gz
Algorithm Hash digest
SHA256 44af7011a4e5e3ec1c8e6837575edc0f03a7c113c73c7f6ed0514636e4e98432
MD5 b97f53f1108511e2804028e1a90a369e
BLAKE2b-256 31857f993cf7dc26847c9dc386c4805839cc4e190e9484c429285e92be36d4e7

See more details on using hashes here.

File details

Details for the file rlmini-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: rlmini-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.6

File hashes

Hashes for rlmini-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c6b0993f185bb716f32e42b5a2959e83cb791d0438c1d2edd2373f28c514445b
MD5 de090c494e2545d84d9a0f87dac6bd94
BLAKE2b-256 15a160cedefbd0ea110743f35f78c87224da172b1c4f4134c1cbf80636801733

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