You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So that if you call this three times with leaf_value 3, 4, 5, then q_value will be 3/1 + 4/2 + 5/3, since the visit_count gets updated while we increment q_value. This seems to contradict the description in the book as the average of leaf node values. (If I've understood correctly.)
The text was updated successfully, but these errors were encountered:
The code in update_values does:
So that if you call this three times with leaf_value 3, 4, 5, then q_value will be 3/1 + 4/2 + 5/3, since the visit_count gets updated while we increment q_value. This seems to contradict the description in the book as the average of leaf node values. (If I've understood correctly.)
The text was updated successfully, but these errors were encountered: