Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 705 Bytes

README.md

File metadata and controls

28 lines (22 loc) · 705 Bytes

Poker hand classifier

Uses tensorflow to create and use a three hidden layer, convolutional neural network. Must train before use, data and formatter provided.

Input format for use

five cards in one input string: (suit1,rank1,suit2,rank2,suit3,rank3,suit4,rank4,suit5,rank5)

Suits

1-4, not programmed to recognize specific suit value (ex. no suit hierarchy)

Rank

0-13 (A-K)

Output format

  0: Nothing
  1: One pair
  2: Two pairs
  3: Three of a kind
  4: Straight
  5: Flush
  6: Full house
  7: Four of a kind
  8: Straight flush
  9: Royal flush

Credits

@author Jack Stettner

Data from https://archive.ics.uci.edu/ml/datasets/Poker+Hand