Skip to main content

Simple RL reward plotting utility

Project description

plotrs

A lightweight plotting utility for visualizing rewards vs steps in Reinforcement Learning (RL), Multi-Armed Bandits (MAB), and other iterative training algorithms.

plotrs provides a single, easy-to-use function plot_reward_vs_steps() that plots rewards over time and can optionally smooth the curve using a moving average.


✨ Features

  • 📈 Simple, one-line plotting
  • 🎯 Perfect for RL or MAB experiments
  • 🔍 Optional moving average smoothing
  • 🖼 Clean Matplotlib visualization
  • ⚡ Zero boilerplate — just call and plot

📦 Installation

pip install plotrs

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

plot_reward_vs_steps-0.1.1.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

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

plot_reward_vs_steps-0.1.1-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file plot_reward_vs_steps-0.1.1.tar.gz.

File metadata

  • Download URL: plot_reward_vs_steps-0.1.1.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for plot_reward_vs_steps-0.1.1.tar.gz
Algorithm Hash digest
SHA256 6919c88ed1ab81037b8c4408aeb6737cf004be9cee8235d84da3604e30c2cd9f
MD5 26739dfbd32e2a6829a2b7ecf81815e0
BLAKE2b-256 b2a63e009d0fedaf45e3470f6c5b66424607e40d23f330fce61e4bddfc15e61a

See more details on using hashes here.

File details

Details for the file plot_reward_vs_steps-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for plot_reward_vs_steps-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 16b044c77ec03cc881eee96a3d9370c795039a94a091dd3f6e2a758fcffcee56
MD5 8f16dfebdc1db51b32b2fd0fdafaa048
BLAKE2b-256 a6c400509933ffed4aa6cf2659c9e08356229726168f60865a3c96de1459f405

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