Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4f0f517

Browse files
jsrimrholly1238
andauthored
Update reinforcement_q_learning.py (#1286)
update target network -> update policy network Co-authored-by: holly1238 <[email protected]>
1 parent 3f9967d commit 4f0f517

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

intermediate_source/reinforcement_q_learning.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ def optimize_model():
481481
# Move to the next state
482482
state = next_state
483483

484-
# Perform one step of the optimization (on the target network)
484+
# Perform one step of the optimization (on the policy network)
485485
optimize_model()
486486
if done:
487487
episode_durations.append(t + 1)

0 commit comments

Comments
 (0)