Next: 7.2.4 Modeling Abstraction Up: 7.2 Learning Previous: 7.2.2 Pre-Flop Re-Weighting   Contents

## 7.2.3 Post-Flop Re-Weighting

For the three betting rounds after the flop, we infer a mean and variance ( and ) of the threshold for the opponent's observed action and rank all hands according to the effective hand strength (EHS') calculation from Equation 6.4. Although the relative ranking of all hands is not affected, it is an optimistic view, because hands with an EHS' above represent more than 20% of all hands (due to the inclusion of PPOT in the equation). Additionally, we use HS1 instead of HSn so the number of opponents can instead be addressed as part of the context of the action frequencies (although presently it is ignored in the interest of a simplified definition of context).

To calculate EHS' we must compute both hand strength (HS) and positive potential (PPOT). Since PPOT is a computationally expensive operation and we must obtain PPOT values for about 1,000 hands every call to the re-weighting function, we use a crude but fast estimating function (PPOTc). In terms of cost, PPOTc << PPOT1 << PPOT2. It is crude because it ignores much of the available information (such as weight arrays) and looks for a few features about the hand, using heuristics to associate a value to each. For example, if the board has only 2 diamonds of our 4-card diamond flush draw, then we have 9 outs (1 out per remaining card), but if the board has 3 diamonds, each of the remaining cards is worth 0.5 to 1 out, depending on the rank of your suited hole card (a Two is worth 0.5 and an Ace is worth 1). This is because we are more likely to be up against other diamond flush draws. PPOTc approximates very roughly our winning chances given each possible card to be dealt). This function produces values within 5% of PPOT1, 95% of the time (this is from a random sampling of five card unweighted cases). Since these values are amortized over about 1,000 possible hands, the overall effect of this approximation is small.

However, the opponent is also likely to play some hands based on the pot odds required for the action ( i.e. the decision is not always based on EHS'). For this reason we have introduced an adjustment to the re-weighting algorithm for the post-flop. When PPOTc is sufficient to warrant calling the pot odds, which is

the weight for that subcase is not reduced. This is a simplification of the betting decision the opponent could be making based on the pot size, however we feel it is sufficient to capture enough cases to prevent hands with low EHS' but high potential from being severely under-estimated. The new re-weighting algorithm can be found in Figure 7.3.

What value do we use for ? We chose to use a typical value of at (interpolating over the range .3 to .7) and to increase with smaller while decreasing it for larger . This reflects the tendency for loose players (with low ) to exhibit more uncertainty and tight players (with high ) to adhere more consistently to the threshold. Hence, we use .

However, as was the case with pre-flop re-weighting, there is a clear source of error when is very low. Observe that the area of the re-weighting function is a rectangle of height 1 and width , with a triangle between and (Figure 7.2). That is,

 (7.5)

(if we were to ignore the area due to the minimum re-weighting factor of 0.01). But, since the function domain is bounded by 0, when () we have . For the weaker hands, the re-weighting factor is too low. When we are in this special case, we compensate by changing the re-weighting function so that at EHS' = 0 the re-weighting factor is r instead of 0.01 (and the function interpolates linearly between r and 1 when the hand value is between 0 and ).

The value r is calculated to give . The function now looks like a rectangle to the right of , a triangle of height 1 - r (width ) and a second rectangle of height r below it (Figure 7.4). The total area of the function is now the area of the triangle subtracted from 1:

 (7.6)

Since we want we then see that
 (7.7)

which leads to the conclusion that
 (7.8)

Next: 7.2.4 Modeling Abstraction Up: 7.2 Learning Previous: 7.2.2 Pre-Flop Re-Weighting   Contents
Denis Papp
1998-11-30