Skip to main content

lrl: Learn Reinforcement Learning

See here for complete documentation.

Overview

lrl is a Python package for applying (and hopefully, learning!) basic Reinforcement Learning algorithms. It is intended to be an early stepping stone for someone trying to understanding the basic concepts of planning and learning, providing out-of-the-box implementations of some simple environments and algorithms in a well documented, readable, and digestible way to give someone platform from which to build understanding.

The overall goal of the author in writing this package was to provide people interested in Reinforcement Learning a starting point and handrail to help them as they began learning. The fastest, most efficient implementation is less important here than code which can be read and learned from by someone new to the topic and with intermediate Python skills.

The idea behind this package originated as material to support students completing the Georgia Tech OMSCS class CS 7641: Machine Learning. CS 7641 takes a top-down approach to learning Machine Learning, whereby students are encouraged to find existing implementations of the algorithms discussed and apply them to gain a feel for their overall properties and pitfalls. While Python implementations for Supervised Learning are well represented (scikit-learn) and a student-driven project for Randomized Optimization and Search (mlrose) is available, robust and well-commented implementations for simple Reinforcement Learning were less ubiquitous. This package attempts to fill that void.

Installation Instructions

lrl is accessible using pip

pip install lrl

or, you can pull the source to your working directory so you can play along at home

git clone https://github.com/ca-scribner/lrl.git lrl
pip install -e lrl

Metadata

Release files for lrl 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lrl 1.0.0
File Size Uploaded Provenance
lrl-1.0.0.tar.gz 43.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for lrl 1.0.0
File Interpreter ABI Platform
lrl-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 94.2 kB

Release files / lrl-1.0.0.tar.gz

Download URL lrl-1.0.0.tar.gz
Size 43.3 kB
Tags Source
SHA-256 checksum
How to use checksums
eab004a4f90b2e0f2ebe4aabc4498d39f695441d1d68c3cba4bf4bc4914e2403
BLAKE2b-256 checksum
How to use checksums
795f54fc710aed3e72615a550a1f517e48e8c71bf2ad5278c72af601e60ce4ca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

Release files / lrl-1.0.0-py3-none-any.whl

Download URL lrl-1.0.0-py3-none-any.whl
Size 50.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e334f1b0cbf04d8b4f33acf3f11c762050e2b34bd8e9863bb9657113baf5fc28
BLAKE2b-256 checksum
How to use checksums
deb7e7dd18fc4fc94e7efae209d81d156e77a0abd7d786a56025d7a53cd48726
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

Security for lrl 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page