Skip to content

Commit 057bfef

Browse files
authored
Fix Train Agent doc, need env param (#1239)
1 parent 1d353b3 commit 057bfef

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/introduction/train_agent.md

+1
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ epsilon_decay = start_epsilon / (n_episodes / 2) # reduce the exploration over
116116
final_epsilon = 0.1
117117

118118
agent = BlackjackAgent(
119+
env,
119120
learning_rate=learning_rate,
120121
initial_epsilon=start_epsilon,
121122
epsilon_decay=epsilon_decay,

0 commit comments

Comments
 (0)