MATLAB Answers

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

1 view (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?


Sign in to comment.

Accepted Answer

Emmanouil Tzorakoleftherakis
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).


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)


Community Treasure Hunt

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

Start Hunting!