microsoft / med-deadend

Code for the Medical Deadend Paper at NeurIPS 2021
MIT License
47 stars 18 forks source link

Would you please illustrate more on the loss function of D & R networks? #4

Closed yikuan8 closed 2 years ago

yikuan8 commented 2 years ago

Hello,

I am kind of confused on understanding the loss function of the DQN networks( line 122 thru 125 in RL.py). Would you please explain a bit? Thank you!

twkillian commented 2 years ago

This is an implementation of the Huber loss which is one of several standard losses used in Deep RL.