offline training Reinforcement learning
显示 更早的评论
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
回答(2 个)
Xiangyin Wang
2022-5-8
0 个投票
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
2024-9-12
0 个投票
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
类别
在 帮助中心 和 File Exchange 中查找有关 Deep Learning Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!