Giter Site home page Giter Site logo

Add GEM-Callbacks about gym-electric-motor HOT 2 CLOSED

upb-lea avatar upb-lea commented on May 30, 2024
Add GEM-Callbacks

from gym-electric-motor.

Comments (2)

wallscheid avatar wallscheid commented on May 30, 2024

Nice functionality add-on.
@atra94 -> could you please add additional specifications requirements.

from gym-electric-motor.

atra94 avatar atra94 commented on May 30, 2024

GEM callbacks can be introduced similar to the keras-rl and keras callbacks. They are used oftentimes for adaptive parameterization (e.g. the LearningRateScheluler in Keras)

https://github.com/wau/keras-rl2/blob/master/rl/callbacks.py
https://keras.io/api/callbacks/

These callbacks are called at specific points during the execution for user specific functionality.

For example, GEM callbacks could be "on_reset_begin", "on_reset_end", "on step begin", on step_end", "on_close" ...

In my opinion, a good first use case could be an adaptive "limit_margin" parameter for all SubepisodedReferenceGenerators. The limit_margin could be quite small at the beginning e.g. limit_margin_0 = (-0.1, 0.1) and grow linearly over the episodes (or cumulative steps).
So, the agent could learn the control on a smaller operating range, initially and later learn to drive the motor to its limits.

from gym-electric-motor.

Related Issues (20)

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.