Filter löschen
Filter löschen

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

1 Ansicht (letzte 30 Tage)
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?

Akzeptierte Antwort

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 Kommentare
Alexander
Alexander am 30 Nov. 2020
Bearbeitet: Alexander am 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?
Emmanouil Tzorakoleftherakis
Please refer to this page on how to extract the weights of actors/critics.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Sequence and Numeric Feature Data Workflows finden Sie in Help Center und File Exchange

Produkte


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by