Reinforcement Learning, how to apply normalization and for which parts?

9 ビュー (過去 30 日間)
Aysegul Kahraman
Aysegul Kahraman 2022 年 1 月 30 日
コメント済み: Sourabh 2023 年 12 月 28 日
Hi,
I have a model in Simulink and I am trying to solve a scheduling problem for control. Since we also use neural networks (I am using actor critic because of the continuous action and state space) for the agent, I believe normalization should help to find at least local optima for the problem.
However, it does not work (at least with the R2021a) if we change the command from 'none' to any other option for creating the state and action.
Here is an example of the code line:
--> featureInputLayer(numObservations,'Normalization','none','Name','State')
That is why I am applying the normalization in my simulink file.
I was wondering what should be the best way to implement normalization in .slx file. Currently, I am applying for my observations and reward function.
Should I apply for another component in addition to this or not apply for any of these parts?
Any comments would be helpful, thanks.
  3 件のコメント
Aysegul Kahraman
Aysegul Kahraman 2022 年 11 月 29 日
Hi, it seems there is no such an easy and direct way to normalize (you can not write like ('Normalization','zscore') or any other method at least according to my findings).
My solution was applying normalization seperately for observations, reward and so on. Hope that helps.
Sourabh
Sourabh 2023 年 12 月 28 日
can you please elaborate like how did u applied normalization to rewards plzzzz

サインインしてコメントする。

回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by