Skip to content

Instantly share code, notes, and snippets.

@SolClover
Created October 16, 2022 06:38
Show Gist options
  • Save SolClover/37fcc86710c16ae825eb54c84efd78b2 to your computer and use it in GitHub Desktop.
Save SolClover/37fcc86710c16ae825eb54c84efd78b2 to your computer and use it in GitHub Desktop.
Train the model using SARSA algorithm
# Train
Qtable = train(n_episodes, n_max_steps, start_epsilon, min_epsilon, decay_rate, Qtable)
# Show Q-table
Qtable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment