Chess (King-Rook vs. King-Knight)
Donated on 10/2/1988
Knight Pin Chess End-Game Database Creator
Dataset Characteristics
Multivariate, Data-Generator
Subject Area
Games
Associated Tasks
Classification
Feature Type
Categorical, Integer
# Instances
-
# Features
-
Dataset Information
Additional Information
The companion file is a Common Lisp demonstration file that generates knight-pin Chess end-game samples. Start up Lisp and load the file. It generates 100 end-games and writes them to a separate file. Look at the end of the file to see how to change it so that it will produce more end-games, or use the file for output that you wish. The code is released for experimental, confidential use only. See the end of the file for load-time commands that generate a file of examples in Quinlan's format. Note: this program generates duplicates. In one run, there were about 370 duplicates in the first 1000 instances (i.e., 630 distinct examples).
Has Missing Values?
No
Variables Table
Variable Name | Role | Type | Description | Units | Missing Values |
---|---|---|---|---|---|
no | |||||
no | |||||
no | |||||
no | |||||
no | |||||
no | |||||
no | |||||
no | |||||
no | |||||
no |
0 to 10 of 22
Additional Variable Information
Attribute Summaries: Class: knight's side is lost in n-ply (n=2, 3, etc) 1. distance from black king to knight: 1, 2, >2 2. distance from black king to rook: 1, 2, >2 3. distance from black king to white king: 1, 2, >2 4. distance from white king to knight: 1, 2, >2 5. distance from white king to rook: 1, 2, >2 6. distance from rook to knight (ADDED): 1, 2, >2 7. board relationship of black king and knight (ADDED): diag, rect, other 8. board relationship of black king and rook (ADDED): diag, rect, other 9. board relationship of black king and white king (ADDED): diag,rect,other 10. board relationship of white king and knight (ADDED): diag, rect, other 11. board relationship of white king and rook (ADDED): diag, rect, other 12. board relationship of white rook and knight (ADDED): diag, rect, other 13. type of black king's initial square: corner, edge, open 14. type of black knight's initial square (ADDED): corner, edge, open 15. type of white king's initial square (ADDED): corner, edge, open 16. type of white rook's initial square (ADDED): corner, edge, open 17. rook checks black king (OMITTED, always f): t, f 18. rook threatens knight (OMITTED, always t): t, f 19. knight threatens rook (OMITTED, always f): t, f 20. black king, knight, rook in line (OMITTED, always t) t, f 21. black king can move adjacent to knight (OMITTED) t, f 22. knight can interpose adjacent to king (OMITTED) t, f
Dataset Files
File | Size |
---|---|
kr-vs-kkn.l | 12 KB |
kr-vs-kkn.names | 2.9 KB |
Index | 132 Bytes |
Reviews
There are no reviews for this dataset yet.
pip install ucimlrepo
from ucimlrepo import fetch_ucirepo # fetch dataset chess_king_rook_vs_king_knight = fetch_ucirepo(id=21) # data (as pandas dataframes) X = chess_king_rook_vs_king_knight.data.features y = chess_king_rook_vs_king_knight.data.targets # metadata print(chess_king_rook_vs_king_knight.metadata) # variable information print(chess_king_rook_vs_king_knight.variables)
Quinlan, R. (1983). Chess (King-Rook vs. King-Knight) [Dataset]. UCI Machine Learning Repository. https://doi.org/10.24432/C56W2G.
Keywords
Creators
Ross Quinlan
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.