GithubHelp home page GithubHelp logo

magicalgemini / shisanshui_ai Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bupticybee/shisanshui_ai

0.0 0.0 0.0 38.72 MB

十三水AI,使用Deterministic CFR解决十三水问题

C++ 85.30% Python 14.17% CMake 0.32% Dockerfile 0.22%

shisanshui_ai's Introduction

十三水AI

十三水ai,由于十三水ai信息集过大,无法直接采用CFR算法求解,所以我采用了独创的算法Deterministic CFR算法求解(使用类似Deterministic MCTS的方法,并且用在CFR上)。

这是我知识范围内首次Deterministic MCTS和CFR算法的结合,并且在我的实验中,这种算法在十三水上非常有效。

经验证算法十分有效,可以稳定击败我(> 60%胜率), 也可以以超过56%的胜率击败baseline,另一款 十三水开源AI, 也以55%的胜率战胜仅使用CFR的baseline。

编译&运行

在docker容器中运行

编译容器

docker build -t s3s_py:0.1 .

在容器中运行

docker run -it s3s_py:0.1 /bin/bash
python3 test_benchmark.py

本地运行

python 环境初始化

pip3 install pytest

pybind 环境初始化

cd pybind11
mkdir build
cd build
cmake ..
make check -j 4
make install

shisanshui_ai's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.