GithubHelp home page GithubHelp logo

machine-learning-labs / deepracerrewardfunctionscollection Goto Github PK

View Code? Open in Web Editor NEW
40.0 7.0 14.0 30 KB

Compilation of reward functions for the AWS Deep Racer service

Home Page: https://aws.amazon.com/deepracer/

License: MIT License

Python 100.00%
aws aws-deepracer python reward-functions

deepracerrewardfunctionscollection's Introduction

AWS Deep Racer Reward Functions Compilation

This repository includes a compilation of reward functions for the AWS Deep Racer service. They have been collected from many other authors with the interest of conducting a comparative study.

All the files include a initial description with:

'''
    @author: <Name> // <username>
    @Link: https://github.com/<username>/<repo>
    @License: <LICENSE If any>
'''

Taxonomy

The classification system is based solely on the input variables used in the function.

  • Void: None of input params
  • Single: One input var i.e. all_wheels_on_track
  • Double: Two ...
  • Tredecuple: All the input

Input Parameters

The params dictionary object contains the following key-value pairs:

    params = {
        "all_wheels_on_track": Boolean,    # flag to indicate if the vehicle is on the track
        "x": float,                        # vehicle's x-coordinate in meters
        "y": float,                        # vehicle's y-coordinate in meters
        "distance_from_center": float,     # distance in meters from the track center 
        "is_left_of_center": Boolean,      # Flag to indicate if the vehicle is on the left side to the track center or not. 
        "heading": float,                  # vehicle's yaw in degrees
        "progress": float,                 # percentage of track completed
        "steps": int,                      # number steps completed
        "speed": float,                    # vehicle's speed in meters per second (m/s)
        "steering_angle": float,           # vehicle's steering angle in degrees
        "track_width": float,              # width of the track
        "waypoints": [[float, float], ... ], # list of [x,y] as milestones along the track center
        "closest_waypoints": [int, int]    # indices of the two nearest waypoints.
    }

FAQ

  • What means v0 & v1? v0 It's about the Deep Racer SDK, some examples uses a reward_function(param1, param2,...) version with params in a verbose way, but last version (v1) uses the dictionary defined before: reward_function(params).
  • Which license are you using? Each file includes its licence if available, rest of own work is under MIT license.

References

deepracerrewardfunctionscollection's People

Contributors

pelirrojo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.