offline training Reinforcement learning

9 Ansichten (letzte 30 Tage)
Ahmad Slim
Ahmad Slim am 28 Apr. 2022
Beantwortet: Kautuk Raj am 12 Sep. 2024
I was wondering how can we train RL model offline using the RL toolbox?
I have data and I need to use it to train my RL agents. Is this option available in RL toolbox?
thanks

Antworten (2)

Xiangyin Wang
Xiangyin Wang am 8 Mai 2022
I am recent doing same work, i build a rlagent ,the observations are from the existed data, then generate a action, the action is compared with the actual action from the existed data. I have some problem with the data using, I hope we can have some discussion.

Kautuk Raj
Kautuk Raj am 12 Sep. 2024
Since MATLAB R2023a, you can train a reinforcement learning (RL) model offline using existing data through the Reinforcement Learning Toolbox in MATLAB.
This can be done by utilizing the trainFromData function. It can useful if you have pre-collected datasets and want to apply offline RL techniques. Details about this function can be gathered from this documentation page of the current version (R2024a): https://www.mathworks.com/help/reinforcement-learning/ref/rl.agent.rldqnagent.trainfromdata.html
Further, this example on training a reinforcement learning agent offline to control a Quanser QUBE pendulum can also be looked at to understand the usage of the trainFromData function: https://www.mathworks.com/help/reinforcement-learning/ug/train-agent-offline-to-control-furuta-pendulum.html

Community Treasure Hunt

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

Start Hunting!

Translated by