How to keep actions values at minimum before disturbance and let the agent choose different action values only after the disturbance?

1 次查看(过去 30 天)
Hello,
I am training reinforcement learning DDPG agent for for a control application. In my training, the agent tries to increase the agent actions from the start of each episode, I want the agent to keep minimum values of actions before the disturbance occurs and then change the action values after the disturbance. How to implement this idea ?
Thank you.

回答(1 个)

Emmanouil Tzorakoleftherakis
Please take a look here. As of R2022a you can place the RL policy block inside a triggered subsystem and only enable the subsystem for training when required.
Hope this helps

产品


版本

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by