{'fraction_non_alphanumeric': 0.014692378328741965, 'fraction_numerical': 0.005509641873278237, 'mean_word_length': 5.264367816091954, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
A method of computing winning probability for Texas Hold'em poker

Texas Hold'em poker is one of the most popular card games in computer games. Most of the times hand evaluation is necessary for computing hand strength which is also called winning probability. We need to traverse all combinations of cards to get the accurate hand strength in conventional approach. Usually Monte Carlo simulation or look-up table could reduce the computation. To improve efficiency, this paper propose an algorithm for poker hand classification and introduce linear regression to calculate the approximate effective hand strength. Firstly getting the classifying result of 5 cards or 6 cards, then generating feature vector through data preprocessing, at last the predictive value of the effective hand strength calculated by the linear regression equation. The experiment results show that the average absolute error between the predicted value and the label is 0.034. Compared with the traditional evaluation approach, our method is more effective to computing winning probability without lookup table.