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

2 views (last 30 days)
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?

Accepted Answer

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 Comments
Alexander
Alexander on 30 Nov 2020
Edited: Alexander on 30 Nov 2020
I made custom training loop. I see that actorNetwork has several layers (including FullyConnected) but their Weights are [ ]. Where are weights of actorNetwork?

Sign in to comment.

More Answers (0)

Categories

Find more on Sequence and Numeric Feature Data Workflows in Help Center and File Exchange

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!