Description Usage Arguments Details Value See Also
From UCI: "This database encodes the complete set of possible board configurations at the end of tic-tac-toe games, where "x" is assumed to have played first. The target concept is "win for x" (i.e., true when "x" has one of 8 possible ways to create a "three-in-a-row"). Interestingly, this raw database gives a stripped-down decision tree algorithm (e.g., ID3) fits. However, the rule-based CN2 algorithm, the simple IB1 instance-based learning algorithm, and the CITRE feature-constructing decision tree algorithm perform well on it."
1 2 | createTicTacToe(file = getfilepath("tictactoe.rds"), write = TRUE,
read = TRUE)
|
file |
character; path/filename to write data file to |
write |
logical; should the dataset be written to disk for later use? (default: TRUE) |
read |
logical; should we try to read the dataset from the specified location first? (default: TRUE) |
Task: formula(Class ~ .)
The dataset as a data.table
1. top-left-square: x,o,b 2. top-middle-square: x,o,b 3. top-right-square: x,o,b 4. middle-left-square: x,o,b 5. middle-middle-square: x,o,b 6. middle-right-square: x,o,b 7. bottom-left-square: x,o,b 8. bottom-middle-square: x,o,b 9. bottom-right-square: x,o,b
https://archive.ics.uci.edu/ml/datasets/Tic-Tac-Toe+Endgame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.