m4tx / MahjongAI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Riichi Mahjong AI

This is an attempt on building Riichi Mahjong AI using Supervised Machine Learning.

Requirements

  • Python 3
  • Python packages:
    • Keras
    • Tk
    • NumPy
    • SciKit-learn

Running the trainer

python -m tenhou_log_utils.trainer

This reads tenhou logs from the directory specified at the top of the file (train/01 by default).

Running the bot

python -m gui_main

This runs the bot with the Tk-based GUI.

Third-party code used

About


Languages

Language:Python 100.0%