Poker Hand
Donated on 12/31/2006
Purpose is to predict poker hands
Dataset Characteristics
Multivariate
Subject Area
Games
Associated Tasks
Classification
Feature Type
Categorical, Integer
# Instances
1025010
# Features
10
Dataset Information
Additional Information
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". The order of cards is important, which is why there are 480 possible Royal Flush hands as compared to 4 (one for each suit - explained in ftp://ftp.ics.uci.edu/pub/machine-learning-databases/poker/poker-hand.names).
Has Missing Values?
No
Variables Table
Variable Name | Role | Type | Description | Units | Missing Values |
---|---|---|---|---|---|
S1 | Feature | Integer | no | ||
C1 | Feature | Integer | no | ||
S2 | Feature | Integer | no | ||
C2 | Feature | Integer | no | ||
S3 | Feature | Integer | no | ||
C3 | Feature | Integer | no | ||
S4 | Feature | Integer | no | ||
C4 | Feature | Integer | no | ||
S5 | Feature | Integer | no | ||
C5 | Feature | Integer | no |
0 to 10 of 11
Additional Variable Information
1) S1 "Suit of card #1" Ordinal (1-4) representing {Hearts, Spades, Diamonds, Clubs} 2) C1 "Rank of card #1" Numerical (1-13) representing (Ace, 2, 3, ... , Queen, King) 3) S2 "Suit of card #2" Ordinal (1-4) representing {Hearts, Spades, Diamonds, Clubs} 4) C2 "Rank of card #2" Numerical (1-13) representing (Ace, 2, 3, ... , Queen, King) 5) S3 "Suit of card #3" Ordinal (1-4) representing {Hearts, Spades, Diamonds, Clubs} 6) C3 "Rank of card #3" Numerical (1-13) representing (Ace, 2, 3, ... , Queen, King) 7) S4 "Suit of card #4" Ordinal (1-4) representing {Hearts, Spades, Diamonds, Clubs} 8) C4 "Rank of card #4" Numerical (1-13) representing (Ace, 2, 3, ... , Queen, King) 9) S5 "Suit of card #5" Ordinal (1-4) representing {Hearts, Spades, Diamonds, Clubs} 10) C5 "Rank of card 5" Numerical (1-13) representing (Ace, 2, 3, ... , Queen, King) 11) CLASS "Poker Hand" Ordinal (0-9) 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
Dataset Files
File | Size |
---|---|
poker-hand-testing.data | 23.4 MB |
poker-hand-training-true.data | 599.3 KB |
poker-hand.names | 5.8 KB |
Papers Citing this Dataset
Sort by Year, desc
By Mahardhika Pratama, Choiru Za'in, Eric Pardede. 2018
Published in Knowledge-based System, 2018.
By Alberto Fernández, Abdulrahman Altalhi, Saleh Alshomrani, Francisco Herrera. 2017
Published in Int. J. Comput. Intell. Syst..
By Yu Sun, Ke Tang, Zexuan Zhu, Xin Yao. 2017
Published in ArXiv.
By Sara Río, Victoria López, José Benítez, Francisco Herrera. 2015
Published in Int. J. Comput. Intell. Syst..
By Nazneen Rajani, Kate McArdle, Inderjit Dhillon. 2015
Published in 1st High Performance Graph Mining workshop.
0 to 5 of 7
Reviews
There are no reviews for this dataset yet.
pip install ucimlrepo
from ucimlrepo import fetch_ucirepo # fetch dataset poker_hand = fetch_ucirepo(id=158) # data (as pandas dataframes) X = poker_hand.data.features y = poker_hand.data.targets # metadata print(poker_hand.metadata) # variable information print(poker_hand.variables)
Cattral, R. & Oppacher, F. (2002). Poker Hand [Dataset]. UCI Machine Learning Repository. https://doi.org/10.24432/C5KW38.
Creators
Robert Cattral
Franz Oppacher
DOI
License
This dataset is licensed under a Creative Commons Attribution 4.0 International (CC BY 4.0) license.
This allows for the sharing and adaptation of the datasets for any purpose, provided that the appropriate credit is given.