Skip to main content

Cognitive science-inspired reinforcement learning research library

Project description

Kioku

DQN DQN CartPole episode rewards

Using:

  • DQN
  • Double q networks
  • Epsilon decay

Masters cartpole after only 92 episodes?

DQN CartPole gif
A2C A2C CartPole episode rewards

Using:

  • A2C
  • GAE
  • N-Step Returns (with GAE)

Note that A2C is much less sample efficient than DQN and the SOTA (PPO, TD3, SAC).

Lunar Lander:

A2C Lunar Lander episode rewards A2C Lunar Lander gif
PPO PPO CartPole episode rewards

...did I just successfully implement PPO?

Using:

  • PPO (basically A2C with a few extra steps)
  • GAE
  • N-Step Returns (with GAE)
  • Mini-batch learning
  • Multiple learning iterations per batch

As sample efficient as DQN? (minus the memory)

PPO CartPole gif

Lunar Lander:

PPO Lunar Lander episode rewards PPO Lunar Lander gif

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

kioku_rl-0.1.0.tar.gz (24.4 kB view details)

Uploaded Source

Built Distribution

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

kioku_rl-0.1.0-py3-none-any.whl (39.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kioku_rl-0.1.0.tar.gz
  • Upload date:
  • Size: 24.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for kioku_rl-0.1.0.tar.gz
Algorithm Hash digest
SHA256 83790044e682ff277cc2e7489223d3e25bb456d39a5ff365a1ec1d1637f8bffa
MD5 bb451eda14916d334e74dc2e3261dd8d
BLAKE2b-256 d986a0cca11f0946ce20172d5f61c8788bc3bbf510d02589554a51d22d573c08

See more details on using hashes here.

Provenance

The following attestation bundles were made for kioku_rl-0.1.0.tar.gz:

Publisher: publish.yml on smntic/kioku

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: kioku_rl-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 39.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for kioku_rl-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7f2b495fe869e775c93cddd087082d13f3f9d2f798c542b6cd6aa581506e47fb
MD5 70a93adbf61cf7b2ad3ddc9f01657053
BLAKE2b-256 bcca751215de2b2b2afe683b757d61ea3c5512e4aa13a95b4f41c00dccd119c4

See more details on using hashes here.

Provenance

The following attestation bundles were made for kioku_rl-0.1.0-py3-none-any.whl:

Publisher: publish.yml on smntic/kioku

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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