How do I define a continuous reward function for RL environment?
17 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Prashanth Chivkula
il 5 Ott 2020
Commentato: Emmanouil Tzorakoleftherakis
il 12 Ott 2020
I am trying to follow the double integrator example for giving a continuous reward function. When I used the custom template, and defined the reward using the QR cost function, I get an error stating that the reward should be a scalar value. Where can I find the property of reward and change it to accept vector values?
3 Commenti
Risposta accettata
Priysha LNU
il 8 Ott 2020
Here is an excerpt from the documentation :
To guide the learning process, reinforcement learning uses a scalar reward signal generated from the environment.
For detailed information on defining reward signals, discrete and continous rewards, please refer to this documentation link.
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Environments in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!