RL_agents

Code Instructions:

  1. To run the code, exexcute the ‘main.py’ file using python main.py.
  2. To choose between SARSA and Q Learning: To choose ‘sarsa’, comment the line ‘method = ‘QLearning’’, and uncomment the line ‘method = ‘sarsa’’ in the main.py file. Vice Versa for choosing ‘QLearning’.

Modules Required: numpy, scipy, matplotlib, time, multiprocessing, itertools