필터 지우기
필터 지우기

Data to train RL agent (PPO)

조회 수: 3 (최근 30일)
Sourabh
Sourabh 2024년 6월 8일
답변: Shivansh 2024년 6월 20일
I have 2 arrays which are 8001x2 size. one is input and other is output array.
now can i use these two arrays to train my RL agent ? (PPO agent)
i saw the example of using data to train RL agent on mathworks site but their data contains state actions rewards and all the other information as well. is it not possible with just the input and output array to train my RL agent ?
  댓글 수: 2
Ayush Aniket
Ayush Aniket 2024년 6월 12일
Hi Sourabh,
Can you elaborate on the problem you are trying to solve using your dataset?
From your description, it seems that you already have an output data that you would want a Machine Learning Model to learn based on the input. This falls under the category of Supervised Learning. To accomplish such task there are several other functions available in MATLAB.
RL is used for un-supervised learning tasks, wherein the training data has to be in the form of experience such that the ML model (RL agent) can learn by interacting with the environment and observing its response.
Sourabh
Sourabh 2024년 6월 12일
I was using tf model before and now i want to use output data which i obtained from giving a step input to same tf model. That is the only difference.
Can't i replace tf model with data of same tf model??

댓글을 달려면 로그인하십시오.

채택된 답변

Shivansh
Shivansh 2024년 6월 20일
Hi Sourabh,
The Proximal Policy Optimization (PPO) agent or any other Reinforcement Learning agent unlike supervised learning requires explicit states, actions, and rewards etc.
You can try to extract the information from the output arrays regarding the rewards and actions but that might require customising the entire Reinforcement learning model and you might not be able to use any existing example model.
I will recommend to use the Reinforcement Learning after properly modelling the problem for desired results. If you have the inputs and labels, you can try using a supervised learning model.
I hope it helps!

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by