Effacer les filtres
Effacer les filtres

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

1 vue (au cours des 30 derniers jours)
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?

Réponse acceptée

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 commentaires
Alexander
Alexander le 30 Nov 2020
Modifié(e) : Alexander le 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.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Sequence and Numeric Feature Data Workflows dans Help Center et File Exchange

Produits


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by