June 2018
Intermediate to advanced
318 pages
9h 24m
English
In our loss function, we calculate the squared difference between a target and predicted value:

We are using the same Q function for calculating the target value and the predicted value. In the preceding equation, you can see the same weights
are used for both target Q and predicted Q. Since the same network is calculating the predicted value and target value, there could be a lot of divergence between these two.
To avoid this problem, we use a separate network called a target network for calculating the target value. So, our ...
Read now
Unlock full access