Table based q-learning implementation for taxi-v3 environment of Open AI gym.
Read the tutorial here https://www.learndatasci.com/tutorials/reinforcement-q-learning-scratch-python-openai-gym/
$ pip install -r requirements.txt
$ python train.py --help
Usage: train.py [OPTIONS]
Options:
--num-episodes INTEGER Number of episodes to train on [default: 100000]
--save-path TEXT Path to save the Q-table dump [default:
q_table.pickle]
--help Show this message and exit.
$ python evaluate.py --help
Usage: evaluate.py [OPTIONS]
Options:
--num-episodes INTEGER Number of episodes to train on [default: 100]
--q-path TEXT Path to read the q-table values from [default:
q_table.pickle]
--help Show this message and exit.