iroko icon indicating copy to clipboard operation
iroko copied to clipboard

New/custom RL algorithm

Open cexu2 opened this issue 1 year ago • 1 comments

How do I add a custom RL algorithm? is there a file I need to modify ? a class that I need to implement? Any documentation will be great! I am new to gym and ray/rllib.

cexu2 avatar Jul 22 '23 23:07 cexu2

Iroko is basically just a wrapper around OpenAI gym. To try out a new RL algorithm you would interface the same way as you would with the Gym environment. For example: https://github.com/dcgym/iroko/blob/master/run_basic.py is a basic test. https://github.com/dcgym/iroko/blob/master/run_ray.py interfaces with the Ray framework.

Keep in mind that this code is severely out of date.

fruffy avatar Jul 25 '23 17:07 fruffy