How to use GA in Reinforcement Learning instead of Gradient descent?

1 次查看(过去 30 天)
I made my Environment (reset and step functions) but I want to use Genetic algorithm for NN tuning instead of gradient descent. How to do this?

采纳的回答

Emmanouil Tzorakoleftherakis
Hello,
Evolutionary RL is not provided out of the box as of now. To use it you would have to implement a custom training loop (see here for an example).
  2 个评论
Alexander
Alexander 2020-11-30
编辑:Alexander 2020-11-30
I made custom training loop. I see that actorNetwork has several layers (including FullyConnected) but their Weights are [ ]. Where are weights of actorNetwork?

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Sequence and Numeric Feature Data Workflows 的更多信息

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by