Skip to main content

Softmax-based (Boltzmann) action selection strategy for Reinforcement Learning.

Project description

rl-softmax-policy

Implements Softmax (Boltzmann) Action Selection, a probabilistic exploration strategy for Reinforcement Learning agents.

Example Usage

from rlsoftmaxpolicy_colab import softmax_action_selection

q_values = [1.0, 2.0, 3.0]
temperature = 0.8
action = softmax_action_selection(q_values, temperature)
print('Selected action:', action)

Author: Afi Prasla

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

rl_softmax_policy-0.1.0.tar.gz (6.8 MB view details)

Uploaded Source

Built Distribution

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

rl_softmax_policy-0.1.0-py3-none-any.whl (7.1 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rl_softmax_policy-0.1.0.tar.gz
  • Upload date:
  • Size: 6.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for rl_softmax_policy-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1633b07dbef6d244c5025fb56d0cfc42697e064ad554a120397a141ddb696992
MD5 13e3ef0660561db3df1bd70e1137d3a1
BLAKE2b-256 a1a4dd175a7f2625aa548c0d773bc3cb9ac35cd4c623bc28394ab33b0267b7ec

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rl_softmax_policy-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f920495a1d291b952f9207eb3130c2286048664bfde18dab16075595a30a5e2e
MD5 41fb6895e026ccb9cf5cbd301d58a177
BLAKE2b-256 7dcd3d867decef901f403ded9487a69674e3897f4f249e148d147a34da6517d0

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