Skip to main content

Lightweight reinforcement learning experimentation toolkit

Project description

rlexp

A lightweight reinforcement learning experimentation toolkit.

Installation

pip install rlexp-rohanajay

USAGE:

from rlexp import BanditEnv, EpsilonGreedyAgent, Experiment

env = BanditEnv(arms=[0.1, 0.5, 0.9]) agent = EpsilonGreedyAgent(epsilon=0.1, n_arms=3) exp = Experiment(env, agent) exp.run(episodes=1000) exp.plot_rewards()

Features:

  • Multi-armed bandit environment
  • Epsilon-greedy agent
  • Reward tracking and plotting
  • No dependencies beyond matplotlib

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

rlexp_rohanajay-0.0.1.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

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

rlexp_rohanajay-0.0.1-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rlexp_rohanajay-0.0.1.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for rlexp_rohanajay-0.0.1.tar.gz
Algorithm Hash digest
SHA256 ae6949c8af11c372cc3d52c3662349c500ff82a9735de3a56096fb50f21c9117
MD5 9c11eec76c9d3b2e1f89cc0042de323d
BLAKE2b-256 8938941b109278cc0ee0fa81aa247cd60f728fb975e63788576038e285e433ab

See more details on using hashes here.

File details

Details for the file rlexp_rohanajay-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for rlexp_rohanajay-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3165acd430a7381ac3f44c429f023a7ae94f216c4c37ae6584e08c8334f7b4f1
MD5 64ace6b464e447299170bf4e0a6d6334
BLAKE2b-256 7a8e717b6411b2eb08b63007e651c18b6036e4f0e588c2ca1890d6ecbe318274

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