Skip to content

Commit

Permalink
Fix Train Agent doc, need env param (#1239)
Browse files Browse the repository at this point in the history
  • Loading branch information
satur9nine authored Nov 4, 2024
1 parent 1d353b3 commit 057bfef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/introduction/train_agent.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ epsilon_decay = start_epsilon / (n_episodes / 2) # reduce the exploration over
final_epsilon = 0.1

agent = BlackjackAgent(
env,
learning_rate=learning_rate,
initial_epsilon=start_epsilon,
epsilon_decay=epsilon_decay,
Expand Down

0 comments on commit 057bfef

Please sign in to comment.