Skip to content

This project explores how a machine learning agent trained via reinforcement learning learns how to play Tic-Tac-Toe

Notifications You must be signed in to change notification settings

mikeogezi/tic-tac-toe-reinforcement-learning

Repository files navigation

Tic-Tac-Toe Reinforcement Learning

This project explores how an ML agent trained through reinforcement learning learns how to play Tic-Tac-Toe

Required dependencies

  • OpenAI Gym
  • Keras
  • Keras-RL
  • Numpy
  • Pandas

To install the dependencies run pip install -r requirements.txt

Usage

  • To train the model, run python train_model.py
  • To play against the pretrained model, run python play_with_model.py

A jupyter notebook outlining the steps that I took can be found here

About

This project explores how a machine learning agent trained via reinforcement learning learns how to play Tic-Tac-Toe

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published