The purpose of the data set is to predict poker hands. Each record is an example of a hand consisting of five playing cards drawn from a standard deck of 52. Each card is described using two attributes (suit and rank), for a total of 10 predictive attributes. There is one Class attribute that describes the "Poker Hand". Use with "UCI Poker hand - testing data set". This data set is sourced from the UCI Machine Learning Repository.
Attribute information:
- S1 "Suit of card #1": Ordinal (1-4) representing {Hearts, Spades, Diamonds, Clubs}
- C1 "Rank of card #1": Numerical (1-13) representing (Ace, 2, 3, ... , Queen, King)
- S2 "Suit of card #2": Ordinal (1-4) representing {Hearts, Spades, Diamonds, Clubs}
- C2 "Rank of card #2": Numerical (1-13) representing (Ace, 2, 3, ... , Queen, King)
- S3 "Suit of card #3": Ordinal (1-4) representing {Hearts, Spades, Diamonds, Clubs}
- C3 "Rank of card #3": Numerical (1-13) representing (Ace, 2, 3, ... , Queen, King)
- S4 "Suit of card #4": Ordinal (1-4) representing {Hearts, Spades, Diamonds, Clubs}
- C4 "Rank of card #4": Numerical (1-13) representing (Ace, 2, 3, ... , Queen, King)
- S5 "Suit of card #5": Ordinal (1-4) representing {Hearts, Spades, Diamonds, Clubs}
- C5 "Rank of card 5": Numerical (1-13) representing (Ace, 2, 3, ... , Queen, King)
- CLASS "Poker Hand": Ordinal (0-9)
CLASS:
0: Nothing in hand; not a recognized poker hand
1: One pair; one pair of equal ranks within five cards
2: Two pairs; two pairs of equal ranks within five cards
3: Three of a kind; three equal ranks within five cards
4: Straight; five cards, sequentially ranked with no gaps
5: Flush; five cards with the same suit
6: Full house; pair + different rank three of a kind
7: Four of a kind; four equal ranks within five cards
8: Straight flush; straight + flush
9: Royal flush; {Ace, King, Queen, Jack, Ten} + flush