In this tutorial, you will train a reinforcement learning (RL) agent to play a simple text game called Frozen Lake. Then, you will use that agent to assess the difficulty of multiple randomly generated levels. The same approach can be used with more complex games. Modern reinforcement learning can match human performance on all kinds of games.
To build an agent that can automatically level a game, you will:
The tutorial will be driven from a Jupyter notebook on a SageMaker notebook instance. You will also download a Python package that contains logic for training the agent. Once you have a way to train an agent on the Frozen Lake game, you will find a model that gives the best performance using SageMaker’s model training and hyperparameter tuning features.
Some prior experience with machine learning and Python will be helpful.