Git Product home page Git Product logo

cfr's Introduction

CFR: Counterfactual Regret Minimization

License

Python library implementing various counterfactual regret minimization algorithms for imperfect information games.

Disclaimer

This library is currently in a pre-alpha stage. All code is subject to change without prior notice.

Roadmap

The aim is to make a fully generic self-play algorithm that can be configured with the following parameters

  • Update methods:
    • CFR
    • CFR+
    • Fictitious play
    • Hedge
  • Graph methods:
    • Full width ("vanilla")
    • Chance sampling ("Monte Carlo")
  • Optimizations:
    • Fixed strategy iteration
    • Pruning
  • Games:
    • Rock-Paper-Scissors
    • Liar Die
    • (optional, no promises!) any game in Gambit EFG format through its PyAPI
    • (long-term goal) Stratego
Acknowledgments

This library was inspired by Todd W. Neller's and Marc Lanctot's lecture notes "An Introduction to Counterfactual Regret Minimization". Their lecture notes, slides and original Java implementations for the games of Rock-Paper-Scissors, Kuhn poker, Dudo and Liar Die have been added to this repository for archival purposes.

License

Copyright Rein Halbersma 2018.
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

cfr's People

Contributors

rhalbersma avatar

Watchers

 avatar

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.