Skip to main content

Q-learning update helper function (Reinforcement Learning)

Project description

jayditya-rl-update

A tiny Python package with a single Reinforcement Learning helper function: q_learning_update, which performs a one-step Q-learning update.

Quick Start

\\\\`python from jayditya_rl_update import q_learning_update

q_new = q_learning_update( q_value=0.5, reward=1.0, next_max_q=0.8, alpha=0.1, gamma=0.99, ) print(q_new) \\\\`

Installation

\\\\ pip install jayditya-rl-update \\\\\

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

jayditya_rl_update-0.0.1.tar.gz (2.1 kB view details)

Uploaded Source

Built Distribution

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

jayditya_rl_update-0.0.1-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for jayditya_rl_update-0.0.1.tar.gz
Algorithm Hash digest
SHA256 e4eb4fb71592c3d3e19174f2e2857e5f51e41e12801f589cba035ab2d2307ded
MD5 18f1eed4de1b9337a4240f8c959cfb0f
BLAKE2b-256 945c0bb46464406fe74cec5c491144e1a08a98a1e54542a8c47281be646b969e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for jayditya_rl_update-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fef75d1bf317614bef2f2263006c47673b437f444503153da952ad26cb6f8271
MD5 41f81ef40a0734aae2e9037bacb2628f
BLAKE2b-256 d7a045ec0159937efc16db3754aaa5c4d72f382a7ab735904f4ea156091b655f

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