Skip to main content

Python library for target seeking environment

Project description

rlenvironments

rlenvironments is a Python library that provides an environment called TargetSeeker for reinforcement learning tasks involving target seeking. It allows agents to navigate towards a target point in a bounded environment.

Installation

pip install rlenvironments

Usage

To use the TargetSeeker environment, you can follow this example:

from rlenvironments.target_seeker import TargetSeeker

# Create an instance of TargetSeeker environment
env = TargetSeeker(image_option='show', output_interval=5)

for _ in range(20):

    # Reset the environment
    state = env.reset()

    while not env.episode_ended:

        # Choose an action
        action = env.random_action()

        # Take a step in the environment
        next_state, reward, done = env.step(action)

        # Do something with the results


[Output 1](https://github.com/ukoksoy/rlenvironments/blob/main/rlenvironments/target_seeker_images/output1.png)
[Output 2](https://github.com/ukoksoy/rlenvironments/blob/main/rlenvironments/target_seeker_images/output2.png)
[Output 3](https://github.com/ukoksoy/rlenvironments/blob/main/rlenvironments/target_seeker_images/output3.png)
[Output 4](https://github.com/ukoksoy/rlenvironments/blob/main/rlenvironments/target_seeker_images/output4.png)

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

rlenvironments-0.2.2.tar.gz (1.7 kB view details)

Uploaded Source

Built Distribution

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

rlenvironments-0.2.2-py3-none-any.whl (1.7 kB view details)

Uploaded Python 3

File details

Details for the file rlenvironments-0.2.2.tar.gz.

File metadata

  • Download URL: rlenvironments-0.2.2.tar.gz
  • Upload date:
  • Size: 1.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.10

File hashes

Hashes for rlenvironments-0.2.2.tar.gz
Algorithm Hash digest
SHA256 5701d04337fc79b11c3fb30fb38b8fcd2f43d25d975fca2e466e4e98d13871c9
MD5 4425c00ff76466bf0df4e5744971e5c6
BLAKE2b-256 5839288e86308206735505ab444b7554b3755165fc167921da090214c2a6a7be

See more details on using hashes here.

File details

Details for the file rlenvironments-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: rlenvironments-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 1.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.10

File hashes

Hashes for rlenvironments-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6fbf948e52d2d4bf036d40aa9d42c1e938d003401e13542c260e18da0e8080a9
MD5 d53b1cb2063843b237a15cd526ec52e8
BLAKE2b-256 2f7049b843b110feee3185e8f6124201e8392c6c9e26ccb432a6fb920ec82e32

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