Created
October 16, 2022 06:38
-
-
Save SolClover/37fcc86710c16ae825eb54c84efd78b2 to your computer and use it in GitHub Desktop.
Train the model using SARSA algorithm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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