GithubHelp home page GithubHelp logo

Card abstraction about open-pure-cfr HOT 1 CLOSED

rggibson avatar rggibson commented on July 28, 2024
Card abstraction

from open-pure-cfr.

Comments (1)

rggibson avatar rggibson commented on July 28, 2024

You are right, CFR typically employs a "bucket" system (i.e. card abstraction) to reduce the size of the state space. What this means is that on a given round, hands are merged into buckets using some choice of card abstraction method. CFR then treats all hands in the same bucket as a single "card state." In other words, for every hand falling into the same bucket, CFR must use the same action probabilities at a given betting sequence.

Now, --card-abs=<NULL|BLIND> selects the card abstraction used by the Pure CFR algorithm. NULL here means that we put every hand into its own bucket (which doesn't reduce the state space at all), even if the hand only differs by a suit isomorphism. BLIND is the opposite: all hands are merged into a single bucket so that CFR effectively does not look at the cards at all.

These are the only 2 card abstractions currently implemented, and honestly neither of them are that useful outside of toy games like Kuhn Poker. With that said, you can implement your own card abstraction by creating a subclass of the CardAbstraction class found in card_abstraction.hpp. Hope that helps.

from open-pure-cfr.

Related Issues (3)

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.