Skip to main content

pendulum-examples

Examples of reinforcement learning inverting a pendulum. Uses the Myrtle real-time reinforcement learning workbench.

Written in support of a post on pendulum learning.

Running examples

Download uv at the command line if you don't already have it

curl -LsSf https://astral.sh/uv/install.sh | sh

Run examples with

uv run <script_name.py>

Choose from

  • uv run buckettree_ziptie_fnc.py
  • uv run one_hot_fnc.py
  • uv run q_learning_curiosity.py
  • uv run q_learning_epsilon.py
  • uv run ziptie_fnc.py

Release files for pendulum-examples 0.1.1

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

Source distribution (sdist)

Source distribution for pendulum-examples 0.1.1
File Size Uploaded
pendulum_examples-0.1.1.tar.gz 2.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pendulum-examples 0.1.1
File Interpreter ABI Platform
pendulum_examples-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 4.3 kB

Release files / pendulum_examples-0.1.1.tar.gz

Download URL pendulum_examples-0.1.1.tar.gz
Size 2.0 kB
Tags Source
SHA-256 checksum
How to use checksums
cf9ecc0020745fab167ca33d3af8c6cfc36ec4c43b991207eda3c176b6efc0de
BLAKE2b-256 checksum
How to use checksums
100c6f45af11760c858756206dc197c2d63c79e338bd5152f4ffd35bf057515f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.5.1

Release files / pendulum_examples-0.1.1-py3-none-any.whl

Download URL pendulum_examples-0.1.1-py3-none-any.whl
Size 2.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
285833d110372a2adafe84fc40a45e32be1c39f56edfdfd88a6cef17fcfacb6e
BLAKE2b-256 checksum
How to use checksums
de795d2dd88370ced0dd5c46568e6ddd71bf52918b2f54654357a164449546ef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.5.1

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

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