ARS in MATLAB

版本 1.0.0 (77.0 KB) 作者: Sean Gillen
Augmented Random Search for Reinforcement Learning in Matlab
38.0 次下载
更新时间 2021/11/14

Augmented Random Search For Reinforcement Learning in MATLAB

What is this?

An implementation of Augmented Random Search in Matlab. It supports Matlab environments compatible with the Matlab RL Toolbox. It also requires the Parallel computing toolbox.

Why should I use this?

ARS is a very simple, fast algorithm that can often outperform more complex state of the art reinforcement learning algorithms (Like PPO, SAC, TD3 etc.), especially when comparing to the official mathworks implementations (which in my experience are missing many of the performance tricks from more mature python implementations of these algorithms).

In addition MATLAB's JIT makes using ARS with simple MATLAB environments very fast, even more so when comparing to pure python implementations of say, a cartpole pendulum or similar. For most environments I've tested I see hundreds of thousands of steps per second.

How do I use this?

Just clone this repo anywhere on your computer, and add it to your MATLAB path. From there see the examples folder to get you started.

Here's a reward curve

asdasd

引用格式

Sean Gillen (2024). ARS in MATLAB (https://github.com/sgillen/matlab_ars), GitHub. 检索时间: .

MATLAB 版本兼容性
创建方式 R2021b
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

无法下载基于 GitHub 默认分支的版本

版本 已发布 发行说明
1.0.0

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库