Main goal of the project is to present author’s implementation of the Deep CFR algorithm with
the Heads Limit Poker Texas Hold’em.
It is a modern method for creating artificial intelligence in large partial-observable games.
Such environments have always been a great challenge and the main barrier
to the development of machine learning. The project will show this problem
by implementation of Deep CFR and analysis of the results.
For this purpose, five recognition models were created every 10 iterations of the algorithm.
Next step was to create games with that models. The results allowed to select the
best playing models and to see how Deep CFR learned over time.
Additionally, the quality of the models was tested against a simple
program which simulate beginner player.
- Implementation of Deep CFR and MCCFR ES.
- Create emulator for HULH by PyPokerEngine
- Train AI by 50 iterations and create 5 models (M10, M20, M30, M40, M50) every 10 epochs.
- Implementation RNN
- Train MCCFR ES for many rounds
For local development all libraries can be installed with command:
$ pip install -r requirements.txt
Neural Network | DCFR | HULH |
---|---|---|
tensorflow 2.6 | tqdm | pypokerengine |
numpy 1.21 | numpy 1.21 | numpy 1.21 |
parametr | value |
---|---|
ante | 0 |
small blind | 5 |
big blind | 10 |
reset environment after this round | 1 |
stock | 80 |
number of players | 2 |
parametr | value |
---|---|
iterations of MCCFR ES | 270 |
DCFR iterations | 50 |
save model each iterations | 10 |