Azzera filtri
Azzera filtri

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

1 visualizzazione (ultimi 30 giorni)
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?

Risposta accettata

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 Commenti
Alexander
Alexander il 30 Nov 2020
Modificato: Alexander il 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.

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Sequence and Numeric Feature Data Workflows in Help Center e File Exchange

Prodotti


Release

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by